Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 2.56 KB

UpdateTaskDefinitionRequest.md

File metadata and controls

39 lines (33 loc) · 2.56 KB

UpdateTaskDefinitionRequest

Contains required info to update a Task Definition

Properties

Name Type Description Notes
display_name str Human readable name
description str Human readable description [optional]
states List[TaskStateDefinition] The states this Task Definition operates over
field_schema List[TaskFieldDefinition] Defines the fields associated with this Task [optional]
initial_state InitialState
triggers List[TransitionTriggerDefinition] Triggers [optional]
transitions List[TaskTransitionDefinition] Transitions [optional]
actions List[ActionDefinition] Actions [optional]
properties Dict[str, PerpetualProperty] The properties to set on the Task Definition, keyed by property key. Optional. A null property value deletes the property. [optional]

Example

from lusid_workflow.models.update_task_definition_request import UpdateTaskDefinitionRequest
from typing import List, Dict, Optional, Any, Union, TYPE_CHECKING
from typing_extensions import Annotated
from pydantic.v1 import BaseModel, StrictStr, StrictInt, StrictBool, StrictFloat, StrictBytes, Field, validator, ValidationError, conlist, constr
from datetime import datetime

display_name: StrictStr = "example_display_name"
description: Optional[StrictStr] = "example_description"
states: List[TaskStateDefinition] = # Replace with your value
field_schema: Optional[List[TaskFieldDefinition]] = # Replace with your value
initial_state: InitialState = # Replace with your value
triggers: Optional[List[TransitionTriggerDefinition]] = # Replace with your value
transitions: Optional[List[TaskTransitionDefinition]] = # Replace with your value
actions: Optional[List[ActionDefinition]] = # Replace with your value
properties: Optional[Dict[str, PerpetualProperty]] = # Replace with your value
update_task_definition_request_instance = UpdateTaskDefinitionRequest(display_name=display_name, description=description, states=states, field_schema=field_schema, initial_state=initial_state, triggers=triggers, transitions=transitions, actions=actions, properties=properties)

Back to Model list • Back to API list • Back to README