ephraimbuddy commented on code in PR #48956:
URL: https://github.com/apache/airflow/pull/48956#discussion_r2036036858
##########
airflow-core/src/airflow/api/common/trigger_dag.py:
##########
@@ -63,8 +63,8 @@ def _trigger_dag(
:return: list of triggered dags
"""
dag = dag_bag.get_dag(dag_id, session=session) # prefetch dag if it is
stored serialized
-
- if dag is None or dag_id not in dag_bag.dags:
+ dag_info = dag_id, None # Using None since we don't have bundle_version
information
+ if dag is None or dag_info not in dag_bag.dags:
Review Comment:
`not in dag_bag.dags` will return the list of the keys, something like:
[('a', None),('b', None)] etc., not a dictionary
--
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]