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 2018/09/26 21:53:43 UTC

[GitHub] aoen commented on a change in pull request #3956: [AIRFLOW-3123] Use a stack for DAG context management

aoen commented on a change in pull request #3956: [AIRFLOW-3123] Use a stack for DAG context management
URL: https://github.com/apache/incubator-airflow/pull/3956#discussion_r220735705
 
 

 ##########
 File path: airflow/models.py
 ##########
 @@ -3389,7 +3389,7 @@ def __init__(
         self.on_success_callback = on_success_callback
         self.on_failure_callback = on_failure_callback
 
-        self._context_manager_set = False
+        self._old_context_manager_dags = []
 
 Review comment:
   Nit: How about just context_manager_dags since it includes the current one?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services