kaxil commented on a change in pull request #15821:
URL: https://github.com/apache/airflow/pull/15821#discussion_r631875895
##########
File path: airflow/utils/callback_requests.py
##########
@@ -56,14 +73,36 @@ class TaskCallbackRequest(CallbackRequest):
def __init__(
self,
full_filepath: str,
- simple_task_instance: SimpleTaskInstance,
+ simple_task_instance: "SimpleTaskInstance",
is_failure_callback: Optional[bool] = True,
msg: Optional[str] = None,
):
super().__init__(full_filepath=full_filepath, msg=msg)
self.simple_task_instance = simple_task_instance
self.is_failure_callback = is_failure_callback
+ def execute(self, dagbag: "DagBag", *, session: Session) -> None: #
pylint: disable=unused-argument
Review comment:
However, if this is working fine -- no issue with that :)
--
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]