bugraoz93 commented on code in PR #49331:
URL: https://github.com/apache/airflow/pull/49331#discussion_r2047233966
##########
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:
This method is mapped to an action command directly, so I don't think we
should call it in other CLI action commands.
I think we need a different approach like making a common method to
reserialise the dags. But I believe you can also call `airflow dags
reserialize` before calling other commands, right?
--
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]