Skip to main content
def ProgressUpdate.add(count: int) -> None
Add work to the total amount tracked by a progress indicator. Call add before or during a task when the task discovers more work to complete.

Parameters

count
int
required
Amount of work to add to the progress indicator total.

Returns

None
progress = context.progress("process-items")
progress.add(len(items))