ephraimbuddy commented on code in PR #32235:
URL: https://github.com/apache/airflow/pull/32235#discussion_r1247485130


##########
airflow/utils/setup_teardown.py:
##########
@@ -31,12 +31,12 @@ class BaseSetupTeardownContext:
     :meta private:
     """
 
-    _context_managed_setup_task: Operator | list[Operator] | None = None
+    active: bool = False
+    context_map: dict = {}

Review Comment:
   When I type the dictionary, mypy complains. 
   Getting this typing to work has been problematic:
   `context_map: dict[Operator | tuple[Operator], list[Operator]]` 
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to