dheerajturaga opened a new pull request, #49380: URL: https://github.com/apache/airflow/pull/49380
Airflow 2 supported running of `airflow dags list` and `airflow dags list-import-errors` without bringing up other services (webserver/scheduler/dag-processor/triggerer) However, in Airflow 3, `airflow dags list` and `airflow dags list-import-errors` fetch from the database instead. This requires dag developers to have a `dag-processor` service running on their local setups for these simple tasks which is overkill. We need to keep the ability to list dags and import errors without having to run any other services. This PR addresses this issue by introducing a `--local` argument to `airflow dags list` and `airflow dags list-import-errors`. This command will fetch from db: `airflow dags list` This command will read the local dagbag instead: `airflow dags list --local` Resolves #49330 Closes #49331 -- 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-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org