Newton Le created AIRFLOW-3123:
----------------------------------

             Summary: DAG context manager fails in nested cases
                 Key: AIRFLOW-3123
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3123
             Project: Apache Airflow
          Issue Type: Bug
          Components: DAG
            Reporter: Newton Le
            Assignee: Newton Le


DAG context manager fails under some cases with nested contexts:

{code:python}
with DAG( ... ) as dag:
  op1 = Operator()

  with dag:
    op2 = Operator()

  op3 = Operator
{code}

op3 will not continue to be assigned the original DAG after exiting the nested 
context.



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

Reply via email to