Skip to content

Latest commit

History

History
33 lines (24 loc) · 1.19 KB

File metadata and controls

33 lines (24 loc) · 1.19 KB

WorkflowProgress

Properties

NameTypeDescriptionNotes
messagesList[ProgressMessage]Log messages emitted during execution
statusstrCurrent workflow status
stepstrName of the current step
step_indexintZero-based index of the current step
steps_totalintTotal number of steps in the workflow

Example

fromrevengai.models.workflow_progressimportWorkflowProgress# TODO update the JSON string belowjson="{}"# create an instance of WorkflowProgress from a JSON stringworkflow_progress_instance=WorkflowProgress.from_json(json)
# print the JSON string representation of the objectprint(WorkflowProgress.to_json())
# convert the object into a dictworkflow_progress_dict=workflow_progress_instance.to_dict()
# create an instance of WorkflowProgress from a dictworkflow_progress_from_dict=WorkflowProgress.from_dict(workflow_progress_dict)

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