cadrumo.core.operator_progress module

Layer-neutral schema for operator-visible progress updates.

class OperatorProgress(**data)[source]

Bases: BaseModel

Actionable progress text plus an optional live countdown duration.

Parameters:

data (Any)

message: str
timeout_seconds: int | None
render(*, remaining_seconds=None)[source]

Render the update for a frontend that cannot animate a timer.

Return type:

str

Parameters:

remaining_seconds (int | None)