TaskInstanceResponse

TaskInstance serializer for responses.

Properties

NameTypeDescriptionNotes
dag_display_namestr
dag_idstr
dag_run_idstr
dag_versionDagVersionResponse[optional]
durationfloat[optional]
end_datedatetime[optional]
executorstr[optional]
executor_configstr
hostnamestr[optional]
idstr
logical_datedatetime[optional]
map_indexint
max_triesint
notestr[optional]
operatorstr[optional]
operator_namestr[optional]
pidint[optional]
poolstr
pool_slotsint
priority_weightint[optional]
queuestr[optional]
queued_whendatetime[optional]
rendered_fieldsobject[optional]
rendered_map_indexstr[optional]
run_afterdatetime
scheduled_whendatetime[optional]
start_datedatetime[optional]
stateTaskInstanceState[optional]
task_display_namestr
task_idstr
triggerTriggerResponse[optional]
triggerer_jobJobResponse[optional]
try_numberint
unixnamestr[optional]

Example

from airflow_client.client.models.task_instance_response import TaskInstanceResponse

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

# convert the object into a dict
task_instance_response_dict = task_instance_response_instance.to_dict()
# create an instance of TaskInstanceResponse from a dict
task_instance_response_from_dict = TaskInstanceResponse.from_dict(task_instance_response_dict)

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