jscheffl commented on code in PR #44518:
URL: https://github.com/apache/airflow/pull/44518#discussion_r1864777498
##########
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:
Uuups, oh was at-sleep while the error was on main. If we revert I assume we
should not make this is a batch with another PR - should we not "just" revert
the PR from me that caused it?
--
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]