Kengo Seki created AIRFLOW-1062:
-----------------------------------

             Summary: DagRun#find returns wrong result if 
external_trigger=False is specified
                 Key: AIRFLOW-1062
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1062
             Project: Apache Airflow
          Issue Type: Bug
          Components: models
            Reporter: Kengo Seki
            Assignee: Kengo Seki


Given the following record,

{code}
sqlite> select id, external_trigger from dag_run;
1|1
sqlite>
{code}

the following code should return no result,

{code}
In [1]: from airflow import models

In [2]: models.DagRun.find(external_trigger=False)
{code}

... but an externally-triggered record is returned erroneously.

{code}
Out[2]: [<DagRun example_bash_operator @ 2017-04-03 01:56:15: 
manual__2017-04-03T01:56:15, externally triggered: True>]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to