Skip to content

Commit 08611bd

Browse files
committed
date format example
1 parent 96499ec commit 08611bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/DAGApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Method | HTTP request | Description
1919
2020
Clear a set of task instances
2121

22-
Clears a set of task instances associated with the DAG for a specified date range.
22+
Clears a set of task instances associated with the DAG for a specified date range.
2323

2424
### Example
2525

@@ -56,13 +56,13 @@ with airflow_python_sdk.ApiClient(configuration) as api_client:
5656
dag_id = "dag_id_example" # str | The DAG ID.
5757
clear_task_instance = ClearTaskInstance(
5858
dry_run=True,
59-
end_date="end_date_example",
59+
start_date="2021-01-23T00:00:00.00Z",
60+
end_date="2021-01-23T23:59:59.00Z",
6061
include_parentdag=True,
6162
include_subdags=True,
6263
only_failed=True,
6364
only_running=False,
6465
reset_dag_runs=True,
65-
start_date="start_date_example",
6666
) # ClearTaskInstance | Parameters of action
6767

6868
# example passing only required values which don't have defaults set
@@ -218,7 +218,7 @@ configuration = airflow_python_sdk.Configuration(
218218
with airflow_python_sdk.ApiClient(configuration) as api_client:
219219
# Create an instance of the API class
220220
api_instance = dag_api.DAGApi(api_client)
221-
file_token = "file_token_example" # str | The key containing the encrypted path to the file. Encryption and encryption takes place only on the server side. This prevents the client from reading an non-DAG file. This also ensures API extensibility, because the format of encrypted data may change.
221+
file_token = "file_token_example" # str | The key containing the encrypted path to the file. Encryption and encryption takes place only on the server side. This prevents the client from reading an non-DAG file. This also ensures API extensibility, because the format of encrypted data may change.
222222

223223
# example passing only required values which don't have defaults set
224224
try:

0 commit comments

Comments
 (0)