You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Sreenath Kamath (JIRA)" <ji...@apache.org> on 2018/05/15 12:02:00 UTC

[jira] [Commented] (AIRFLOW-2399) TriggerDagRunOperator Should Permit Implementor to Choose Dag Id at Runtime

    [ https://issues.apache.org/jira/browse/AIRFLOW-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475715#comment-16475715 ] 

Sreenath Kamath commented on AIRFLOW-2399:
------------------------------------------

One way is to make the trigger_dag_id field of the operator as a templated field which will allow you to pull the dag name programmatically. 

> TriggerDagRunOperator Should Permit Implementor to Choose Dag Id at Runtime
> ---------------------------------------------------------------------------
>
>                 Key: AIRFLOW-2399
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2399
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: operators
>            Reporter: andy dreyfuss
>            Priority: Minor
>
> Currently TriggerDagRunOperator takes a string argument to specify the one dag id that is triggered on success. But it would be just as easy and more flexible to allow any. Incoming PR to demo what I mean ...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)