You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/10 08:46:12 UTC

[GitHub] [airflow] mingshi-wang commented on a change in pull request #20781: Fix airflow dag trigger cli

mingshi-wang commented on a change in pull request #20781:
URL: https://github.com/apache/airflow/pull/20781#discussion_r780985984



##########
File path: airflow/api/common/trigger_dag.py
##########
@@ -88,6 +88,9 @@ def _trigger_dag(
             conf=run_conf,
             external_trigger=True,
             dag_hash=dag_bag.dags_hash.get(dag_id),
+            data_interval=_dag.timetable.infer_manual_data_interval(
+                run_after=timezone.coerce_datetime(execution_date)

Review comment:
       Updated as suggested.




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org