TaskInstanceHistoryResponse

TaskInstanceHistory 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]
map_indexint
max_triesint
operatorstr[optional]
operator_namestr[optional]
pidint[optional]
poolstr
pool_slotsint
priority_weightint[optional]
queuestr[optional]
queued_whendatetime[optional]
scheduled_whendatetime[optional]
start_datedatetime[optional]
stateTaskInstanceState[optional]
task_display_namestr
task_idstr
try_numberint
unixnamestr[optional]

Example

from airflow_client.client.models.task_instance_history_response import TaskInstanceHistoryResponse

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

# convert the object into a dict
task_instance_history_response_dict = task_instance_history_response_instance.to_dict()
# create an instance of TaskInstanceHistoryResponse from a dict
task_instance_history_response_from_dict = TaskInstanceHistoryResponse.from_dict(task_instance_history_response_dict)

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