ashb commented on code in PR #45762:
URL: https://github.com/apache/airflow/pull/45762#discussion_r1922110942


##########
airflow/models/taskinstance.py:
##########
@@ -163,7 +163,7 @@
     from airflow.models.dagrun import DagRun
     from airflow.models.operator import Operator
     from airflow.sdk.definitions.dag import DAG
-    from airflow.sdk.definitions.protocols import RuntimeTaskInstanceProtocol
+    from airflow.sdk.definitions.protocols import 
OutletEventAccessorsProtocol, RuntimeTaskInstanceProtocol

Review Comment:
   And specifically, just `airflow.sdk.types`.
   
   For example, I might add the `Operator` type alias in here (which is 
currently `BaseOperator | MappedOperator` and currently in my PR lives in 
`_internal.abstractoperator` which I don't love)



-- 
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