uranusjr commented on a change in pull request #18685:
URL: https://github.com/apache/airflow/pull/18685#discussion_r720749311
##########
File path: airflow/api/common/experimental/trigger_dag.py
##########
@@ -77,20 +77,20 @@ def _trigger_dag(
if conf:
run_conf = conf if isinstance(conf, dict) else json.loads(conf)
- triggers = []
- dags_to_trigger = [dag] + dag.subdags
- for _dag in dags_to_trigger:
- trigger = _dag.create_dagrun(
+ dag_runs = []
+ dags_to_run = [dag] + dag.subdags
Review comment:
I'm wondering if this is even correct. Shouldn't subdags be handled by
the parent DAG's SubDagOperator?
--
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]