2.27.2.7. pycsamt.pipeline._richview#

Live rich.table.Table rendering for progress_style="rich".

Kept separate from _pipeline.py so the run loop only has to call make_rich_live() once and mutate the returned row dicts — the table itself is always rebuilt from scratch on each repaint (rich.table.Table has no supported in-place cell-update API), which is the standard idiom for driving a changing table through rich.live.Live.

Functions

make_rich_live(pipeline_name, steps)

Return (live, rows, render) for a pipeline about to run steps.

pycsamt.pipeline._richview.make_rich_live(pipeline_name, steps)[source]

Return (live, rows, render) for a pipeline about to run steps.

rows is a list of plain dicts, one per step, pre-populated as "pending" — mutate a row’s fields, then call live.update(render()) to repaint. live has already been .start()-ed.

Parameters: