Workflow
Properties
Name | Type | Description | Notes |
---|---|---|---|
metadata | APIResourceMeta | ||
name | str | The name of the workflow. | |
description | str | The description of the workflow. | [optional] |
versions | List[WorkflowVersionMeta] | [optional] | |
tags | List[WorkflowTag] | The tags of the workflow. | [optional] |
last_run | WorkflowRun | [optional] | |
jobs | List[Job] | The jobs of the workflow. | [optional] |
deployment | WorkflowDeploymentConfig | [optional] |
Example
from hatchet_sdk.clients.rest.models.workflow import Workflow
# TODO update the JSON string below
json = "{}"
# create an instance of Workflow from a JSON string
workflow_instance = Workflow.from_json(json)
# print the JSON string representation of the object
print Workflow.to_json()
# convert the object into a dict
workflow_dict = workflow_instance.to_dict()
# create an instance of Workflow from a dict
workflow_form_dict = workflow.from_dict(workflow_dict)