potiuk commented on a change in pull request #6596: [AIRFLOW-6004] Untangle 
Executors class to avoid cyclic imports
URL: https://github.com/apache/airflow/pull/6596#discussion_r351283877
 
 

 ##########
 File path: airflow/models/taskinstance.py
 ##########
 @@ -1393,3 +1394,109 @@ def init_run_context(self, raw=False):
         """
         self.raw = raw
         self._set_context(self)
+
+
+# State of the task instance.
+# Stores string version of the task state.
+TaskInstanceState = Tuple[TaskInstanceKey, str]
+
+
+class SimpleTaskInstance:
+    """
+    Simplified Task Instance.
+
+    Used to send data between processes via Queues.
+
 
 Review comment:
   Fixed.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to