ClearTaskInstancesBody

Request body for Clear Task Instances endpoint.

Properties

NameTypeDescriptionNotes
dag_run_idstr[optional]
dry_runbool[optional] [default to True]
end_datedatetime[optional]
include_downstreambool[optional] [default to False]
include_futurebool[optional] [default to False]
include_pastbool[optional] [default to False]
include_upstreambool[optional] [default to False]
only_failedbool[optional] [default to True]
only_runningbool[optional] [default to False]
reset_dag_runsbool[optional] [default to True]
run_on_latest_versionbool(Experimental) Run on the latest bundle version of the dag after clearing the task instances.[optional] [default to False]
start_datedatetime[optional]
task_idsList[ClearTaskInstancesBodyTaskIdsInner][optional]

Example

from airflow_client.client.models.clear_task_instances_body import ClearTaskInstancesBody

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

# convert the object into a dict
clear_task_instances_body_dict = clear_task_instances_body_instance.to_dict()
# create an instance of ClearTaskInstancesBody from a dict
clear_task_instances_body_from_dict = ClearTaskInstancesBody.from_dict(clear_task_instances_body_dict)

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