josh-fell commented on issue #29864:
URL: https://github.com/apache/airflow/issues/29864#issuecomment-1451943639

   Hi @MuthuVignesh91, I cannot reproduce this on Airflow 2.5.1 nor 2.4.0.
   
   DAG used:
   ```py
   from pendulum import datetime
   
   from airflow.decorators import dag
   from airflow.operators.empty import EmptyOperator
   
   
   for i in range(200):
   
       @dag(dag_id=f"dag_{i}", start_date=datetime(2023, 1, 1), schedule=None)
       def _dag():
           EmptyOperator(task_id="empty")
   
       _dag()
   ```
   DAGs in Airflow UI
   <img width="281" alt="image" 
src="https://user-images.githubusercontent.com/48934154/222450259-9187f29e-4456-438a-a30a-ac9288762716.png";>
   
   Running `airflow dags list`
   ```sh
   astro@d2c01fe9b20e:/usr/local/airflow$ airflow dags list | tail -n +3 | head 
-n -1 | wc -l
   200
   ```
   (^ Starting the count at line 3 since there are 2 header rows in the output 
and there is an empty line at the end.)
   
   Is there always a consistent number of DAGs returned when running this 
against an MWAA environment? Also, can you try running `airflow dags list` on 
an environment with a more recent Airflow version too please?


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

Reply via email to