mik-laj commented on a change in pull request #6210: [AIRFLOW-5567] [Do not
Merge] prototype BaseAsyncOperator
URL: https://github.com/apache/airflow/pull/6210#discussion_r329331524
##########
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:
Oh. Isn't it enough to run the code after the loop in the execute method?
----------------------------------------------------------------
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