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


##########
airflow-core/src/airflow/triggers/base.py:
##########
@@ -192,6 +192,51 @@ async def cleanup(self) -> None:
         and handle it appropriately (in async-compatible way).
         """
 
+    async def get_task_state(self) -> TaskInstanceState | None:

Review Comment:
   Hmmm, I don't love this approach -- it feels like we are making an extra 
round trip, when I have a feeling that the existing "cancel trigger cos task is 
cancelled" path could pass this information in.



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