turbaszek commented on a change in pull request #10499:
URL: https://github.com/apache/airflow/pull/10499#discussion_r475919005



##########
File path: airflow/sensors/base_sensor_operator.py
##########
@@ -159,6 +160,16 @@ def _get_next_poke_interval(self, started_at, try_number):
         else:
             return self.poke_interval
 
+    def prepare_for_execution(self) -> BaseOperator:

Review comment:
       ```suggestion
       def prepare_for_execution(self) -> "BaseSensorOperator":
   ```
   Lovely! Now we have this method it's indeed easier to add some custom 
"pre_execution" logic.




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


Reply via email to