Progress¶
taskq.progress exports a single public name: ProgressEvent, the structured payload
delivered by ctx.progress(), JobHandle.progress_stream(), and the HTTP SSE endpoint. See
Progress & Streaming for the streaming utilities (SSE router,
progress_stream()) themselves.
progress ¶
taskq.progress — public surface for the real-time progress subsystem.
ProgressEvent ¶
Bases: BaseModel
Point-in-time progress snapshot published to Redis for SSE/stream fanout.
Covers both kind="progress" (incremental update) and
kind="state_change" (terminal or status transition) events. The
exclude_none=True flag on :meth:model_dump_json suppresses null
fields so the JSON payload stays compact on the wire.