TaskResponse

Task serializer for responses.

Properties

NameTypeDescriptionNotes
class_refobject[optional]
depends_on_pastbool
doc_mdstr[optional]
downstream_task_idsList[str][optional]
end_datedatetime[optional]
execution_timeoutTimeDelta[optional]
extra_linksList[str]Extract and return extra_links.
is_mappedbool[optional]
operator_namestr[optional]
ownerstr[optional]
paramsobject[optional]
poolstr[optional]
pool_slotsfloat[optional]
priority_weightfloat[optional]
queuestr[optional]
retriesfloat[optional]
retry_delayTimeDelta[optional]
retry_exponential_backoffbool
start_datedatetime[optional]
task_display_namestr[optional]
task_idstr[optional]
template_fieldsList[str][optional]
trigger_rulestr[optional]
ui_colorstr[optional]
ui_fgcolorstr[optional]
wait_for_downstreambool
weight_rulestr[optional]

Example

from airflow_client.client.models.task_response import TaskResponse

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

# convert the object into a dict
task_response_dict = task_response_instance.to_dict()
# create an instance of TaskResponse from a dict
task_response_from_dict = TaskResponse.from_dict(task_response_dict)

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