amoghrajesh commented on code in PR #65590:
URL: https://github.com/apache/airflow/pull/65590#discussion_r3116894520
##########
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:
Yeah I checked the code, you are right, `to_cancel` → `cancel_triggers()` →
`task.cancel()` is because the task was acted on by a user
--
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]