dheerajturaga commented on code in PR #49331:
URL: https://github.com/apache/airflow/pull/49331#discussion_r2047355943
##########
airflow-core/src/airflow/cli/commands/dag_command.py:
##########
@@ -479,6 +482,9 @@ def dag_list_import_errors(args, session: Session =
NEW_SESSION) -> None:
"""Display dags with import errors on the command line."""
data = []
+ # Reserialize DAGs by parsing the DagBag files
+ dag_reserialize(args, session)
Review Comment:
I can create a separate method that is called in both of these CLI action
commands. But during active dag development, `airflow dags list-import-errors`
needs to track the local dagbag Or reserialize before fetching from db.
Otherwise what was just 1 command solution in 2.10.5 becomes a 2 step process
--
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]