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: us...@infra.apache.org With regards, Apache Git Services