ambika-garg commented on code in PR #45779:
URL: https://github.com/apache/airflow/pull/45779#discussion_r1951258648
##########
airflow/cli/commands/remote_commands/dag_command.py:
##########
@@ -328,7 +332,10 @@ def dag_list_dags(args, session=NEW_SESSION) -> None:
f"List of valid columns: {list(dag_schema.fields.keys())}",
file=sys.stderr,
)
- dagbag = DagBag(process_subdir(args.subdir))
+
+ dagbag = DagBag(read_dags_from_db=True)
+ dagbag.collect_dags_from_db()
+
if dagbag.import_errors:
Review Comment:
Hey @jedcunningham, I've implemented it.
<img width="869" alt="Screenshot 2025-02-11 at 12 11 20 PM"
src="https://github.com/user-attachments/assets/b61ed581-16b2-45f0-b9c8-ed28c70eee12"
/>
--
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]