Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.63 KB

File metadata and controls

38 lines (29 loc) · 1.63 KB

WorkflowProgress

Properties

Name Type Description Notes
messages List[ProgressMessage] Log messages emitted during execution
percent int Overall completion as a percentage, weighted by step duration
status str Current workflow status
step str Name of the current step
step_index int Zero-based index of the current step
step_share int Percentage points the current step contributes when it completes
steps_total int Total number of steps in the workflow
sub_step str Phase within the current step, when the step reports one [optional]
sub_step_done int Items completed in the current phase [optional]
sub_step_total int Items the current phase will process, 0 when unknown [optional]

Example

from revengai.models.workflow_progress import WorkflowProgress

# TODO update the JSON string below
json = "{}"
# create an instance of WorkflowProgress from a JSON string
workflow_progress_instance = WorkflowProgress.from_json(json)
# print the JSON string representation of the object
print(WorkflowProgress.to_json())

# convert the object into a dict
workflow_progress_dict = workflow_progress_instance.to_dict()
# create an instance of WorkflowProgress from a dict
workflow_progress_from_dict = WorkflowProgress.from_dict(workflow_progress_dict)

[Back to Model list] [Back to API list] [Back to README]