er1shivam opened a new issue #27:
URL: https://github.com/apache/airflow-client-python/issues/27
Client version : 2.1.0
Code :
```with client.ApiClient(configuration) as api_client:
api_instance = dag_api.DAGApi(api_client)
dag_id = "dag_id_example"
try:
# Get a simplified representation of DAG
api_response = api_instance.get_dag_details(dag_id)
pprint(api_response)
except client.ApiException as e:
print("Exception when calling DAGApi->get_dag_details: %s\n" % e)
```
Error:
`ApiValueError: Invalid inputs given to generate an instance of
'DAGDetailAllOf`. The input data was invalid for the allOf schema
'DAGDetailAllOf' in the composed schema 'DAGDetail'. Error=Invalid type for
variable 'dag_run_timeout'. Required value type is TimeDelta and passed type
was NoneType at ['received_data']['dag_run_timeout']
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]