rawwar commented on code in PR #44518:
URL: https://github.com/apache/airflow/pull/44518#discussion_r1864778371


##########
airflow/sensors/base.py:
##########
@@ -239,7 +211,8 @@ def poke(self, context: Context) -> bool | PokeReturnValue:
         """Override when deriving this class."""
         raise AirflowException("Override me.")
 
-    def execute(self, context: Context) -> Any:
+    @provide_session
+    def execute(self, context: Context, session=NEW_SESSION) -> Any:

Review Comment:
   I just fixed it and it passed all tests. That should be good? I removed the 
decorator as well



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