You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "pierrejeambrun (via GitHub)" <gi...@apache.org> on 2023/02/24 22:53:58 UTC

[GitHub] [airflow-client-python] pierrejeambrun commented on issue #29: Get Dags call is not working.

pierrejeambrun commented on issue #29:
URL: https://github.com/apache/airflow-client-python/issues/29#issuecomment-1444616655

   Working as expected on latest client version (2.5.1) and latest airflow (2.5.1).
   ```python
       # Get dag list
       dag_api_instance = dag_api.DAGApi(api_client)
       try:
           api_response = dag_api_instance.get_dags(limit=1)
           pprint(api_response)
       except airflow_client.client.OpenApiException as e:
           print("Exception when calling DagAPI->get_dags: %s\n" % e)
   ```
   
   ### Response:
   ![image](https://user-images.githubusercontent.com/14861206/221313407-42ee4fab-95e4-4a8e-bff1-01b8476b336e.png)
   
   
   
   Closing for now, feel free to reopen if needed.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org