Skip to content

ExecutionContext.progress

def ExecutionContext.progress(label: str | None = None) -> ProgressUpdate

Create or return a progress indicator for the currently executing task.

Progress updates are attached to the task result and are visible in job execution state. Calling progress again with the same label returns the same progress indicator.

label str | None

Optional label for the progress indicator. Empty strings are treated as None.

A ProgressUpdate object for tracking total and completed work.