Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.9 KB

File metadata and controls

42 lines (33 loc) · 1.9 KB

ClearTaskInstancesBody

Request body for Clear Task Instances endpoint.

Properties

Name Type Description Notes
dag_run_id str [optional]
dry_run bool [optional] [default to True]
end_date datetime [optional]
include_downstream bool [optional] [default to False]
include_future bool [optional] [default to False]
include_past bool [optional] [default to False]
include_upstream bool [optional] [default to False]
only_failed bool [optional] [default to True]
only_running bool [optional] [default to False]
reset_dag_runs bool [optional] [default to True]
run_on_latest_version bool (Experimental) Run on the latest bundle version of the dag after clearing the task instances. [optional] [default to False]
start_date datetime [optional]
task_ids List[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]