Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.23 KB

File metadata and controls

33 lines (24 loc) · 1.23 KB

CreateWorkflowRequest

Request body for creating a workflow. Shared by the builder DSL and the API so callers and SDKs use the same contract.

Properties

Name Type Description Notes
context Dict[str, object] [optional]
metadata Dict[str, object] [optional]
name str
steps List[WorkflowStep]

Example

from queueflow.models.create_workflow_request import CreateWorkflowRequest

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

# convert the object into a dict
create_workflow_request_dict = create_workflow_request_instance.to_dict()
# create an instance of CreateWorkflowRequest from a dict
create_workflow_request_from_dict = CreateWorkflowRequest.from_dict(create_workflow_request_dict)

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