You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> from airflow_client.client.api import dag_api
>>> api_instance = dag_api.DAGApi(api_client)
>>> api_instance.get_dags()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/dimberman/.virtualenvs/pytest-bdd/lib/python3.7/site-packages/airflow_client/client/api_client.py", line 789, in __call__
return self.callable(self, *args, **kwargs)
File "/Users/dimberman/.virtualenvs/pytest-bdd/lib/python3.7/site-packages/airflow_client/client/api/dag_api.py", line 486, in __get_dags
return self.call_with_http_info(**kwargs)
File "/Users/dimberman/.virtualenvs/pytest-bdd/lib/python3.7/site-packages/airflow_client/client/api_client.py", line 867, in call_with_http_info
collection_formats=params['collection_format'])
File "/Users/dimberman/.virtualenvs/pytest-bdd/lib/python3.7/site-packages/airflow_client/client/api_client.py", line 432, in call_api
_check_type)
File "/Users/dimberman/.virtualenvs/pytest-bdd/lib/python3.7/site-packages/airflow_client/client/api_client.py", line 244, in __call_api
_check_type
File "/Users/dimberman/.virtualenvs/pytest-bdd/lib/python3.7/site-packages/airflow_client/client/api_client.py", line 348, in deserialize
configuration=self.configuration
File "/Users/dimberman/.virtualenvs/pytest-bdd/lib/python3.7/site-packages/airflow_client/client/model_utils.py", line 1420, in validate_and_convert_types
check_type=_check_type
File "/Users/dimberman/.virtualenvs/pytest-bdd/lib/python3.7/site-packages/airflow_client/client/model_utils.py", line 1287, in attempt_convert_item
valid_classes_ordered = order_response_types(valid_classes)
File "/Users/dimberman/.virtualenvs/pytest-bdd/lib/python3.7/site-packages/airflow_client/client/model_utils.py", line 920, in order_response_types
key=lambda class_or_instance: index_getter(class_or_instance)
File "/Users/dimberman/.virtualenvs/pytest-bdd/lib/python3.7/site-packages/airflow_client/client/model_utils.py", line 920, in <lambda>
key=lambda class_or_instance: index_getter(class_or_instance)
File "/Users/dimberman/.virtualenvs/pytest-bdd/lib/python3.7/site-packages/airflow_client/client/model_utils.py", line 916, in index_getter
raise ApiValueError("Unsupported type: %s" % class_or_instance)
airflow_client.client.exceptions.ApiValueError: Unsupported type: <class 'object'>
I think the new version of OpenAPI might have broken the client. I get these from following most of the examples except config. @mik-laj any idea what might cause this?
The text was updated successfully, but these errors were encountered:
I think the new version of OpenAPI might have broken the client. I get these from following most of the examples except config. @mik-laj any idea what might cause this?
The text was updated successfully, but these errors were encountered: