A node in a workflow DAG. Steps are addressed by their unique name; depends_on lists the names of steps that must complete first.
| Name | Type | Description | Notes |
|---|---|---|---|
| config | JobConfig | [optional] | |
| depends_on | List[str] | [optional] | |
| metadata | Dict[str, object] | [optional] | |
| name | str | ||
| on_failure | OnFailure | [optional] | |
| on_success | OnSuccess | [optional] | |
| payload | Dict[str, object] | [optional] | |
| task_name | str |
from queueflow.models.workflow_step import WorkflowStep
# TODO update the JSON string below
json = "{}"
# create an instance of WorkflowStep from a JSON string
workflow_step_instance = WorkflowStep.from_json(json)
# print the JSON string representation of the object
print(WorkflowStep.to_json())
# convert the object into a dict
workflow_step_dict = workflow_step_instance.to_dict()
# create an instance of WorkflowStep from a dict
workflow_step_from_dict = WorkflowStep.from_dict(workflow_step_dict)