You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/11/22 21:32:18 UTC

[GitHub] [airflow] peidaqi commented on issue #12387: Calling models.DagBag().dags within a DAG causes maximum recursion error in Python

peidaqi commented on issue #12387:
URL: https://github.com/apache/airflow/issues/12387#issuecomment-731850486


   @maroshmka that looks like a strange solution though. I simply just want to get a list of currently registered DAGs. Since it's a read only operation it shouldn't invovle something complicated as a semaphore variable.
   
   The maximum recursion error definitely has something to do with how models.DagBag().dags is implemented and if call to this will trigger a re-read of all the DAGs, then this error is expected - but still a bit strange. 


----------------------------------------------------------------
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.

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