DAG Run serializer for clear endpoint body.
| Name | Type | Description | Notes |
|---|---|---|---|
| dry_run | bool | [optional] [default to True] | |
| only_failed | bool | [optional] [default to False] | |
| run_on_latest_version | bool | (Experimental) Run on the latest bundle version of the Dag after clearing the Dag Run. | [optional] [default to False] |
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)