add before or during a task when the task discovers more work to complete.
Parameters
int
required
Amount of work to add to the progress indicator total.
Returns
None
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
progress = context.progress("process-items")
progress.add(len(items))
progress = context.progress("process-items")
progress.add(len(items))
def ProgressUpdate.add(count: int) -> None
add before or during a task when the task discovers more work to complete.
None
progress = context.progress("process-items")
progress.add(len(items))
Was this page helpful?