DAGRunClearBody

DAG Run serializer for clear endpoint body.

Properties

NameTypeDescriptionNotes
dry_runbool[optional] [default to True]
only_failedbool[optional] [default to False]
run_on_latest_versionbool(Experimental) Run on the latest bundle version of the Dag after clearing the Dag Run.[optional] [default to False]

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]