Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.25 KB

File metadata and controls

34 lines (25 loc) · 1.25 KB

DAGRunClearBody

Dag Run serializer for clear endpoint body.

Properties

Name Type Description Notes
dry_run bool [optional] [default to True]
note str [optional]
only_failed bool [optional] [default to False]
only_new bool Only queue newly added tasks in the latest Dag version without clearing existing tasks. [optional] [default to False]
run_on_latest_version bool [optional]

Example

from airflow_client.client.models.dag_run_clear_body import DAGRunClearBody

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

# convert the object into a dict
dag_run_clear_body_dict = dag_run_clear_body_instance.to_dict()
# create an instance of DAGRunClearBody from a dict
dag_run_clear_body_from_dict = DAGRunClearBody.from_dict(dag_run_clear_body_dict)

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