dabla commented on code in PR #62922:
URL: https://github.com/apache/airflow/pull/62922#discussion_r2890604271


##########
task-sdk/src/airflow/sdk/bases/operator.py:
##########
@@ -1657,7 +1662,14 @@ def resume_execution(self, next_method: str, 
next_kwargs: dict[str, Any] | None,
                 raise TaskDeferralTimeout(error)
             raise TaskDeferralError(error)
         # Grab the callable off the Operator/Task and add in any kwargs
-        execute_callable = getattr(self, next_method)
+        return getattr(self, next_method)
+

Review Comment:
   Fixed it, removed context parameter from next_callable and also take into 
account if next_kwargs is None.



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