Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.58 KB

File metadata and controls

38 lines (29 loc) · 1.58 KB

CreateWorkflowDefinitionRequest

Create a new workflow definition.

Properties

Name Type Description Notes
name str
description str [optional]
runner_type WorkflowRunnerType
runner_config SelfHostedRunnerConfig [optional]
max_run_duration_seconds int [optional] [default to 300]
source_path_part_ids List[UUID]
instruction_path_part_ids List[UUID]
output_path_part_ids List[UUID]
template_path_part_id UUID [optional]

Example

from ksapi.models.create_workflow_definition_request import CreateWorkflowDefinitionRequest

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

# convert the object into a dict
create_workflow_definition_request_dict = create_workflow_definition_request_instance.to_dict()
# create an instance of CreateWorkflowDefinitionRequest from a dict
create_workflow_definition_request_from_dict = CreateWorkflowDefinitionRequest.from_dict(create_workflow_definition_request_dict)

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