jaketf commented on a change in pull request #6210: [AIRFLOW-5567] [Do not 
Merge] prototype BaseAsyncOperator
URL: https://github.com/apache/airflow/pull/6210#discussion_r329364469
 
 

 ##########
 File path: airflow/sensors/base_sensor_operator.py
 ##########
 @@ -121,7 +122,17 @@ def execute(self, context: Dict) -> None:
                 raise AirflowRescheduleException(reschedule_date)
             else:
                 sleep(self.poke_interval)
-        self.log.info("Success criteria met. Exiting.")
+
+        if isinstance(self, BaseAsyncOperator):
 
 Review comment:
   I was doing this to avoid a class method not implemented error.

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


With regards,
Apache Git Services

Reply via email to