dzpan0 commented on code in PR #64394:
URL: https://github.com/apache/airflow/pull/64394#discussion_r3006777882
##########
providers/standard/src/airflow/providers/standard/sensors/external_task.py:
##########
@@ -457,6 +457,11 @@ def execute(self, context: Context) -> None:
method_name="execute_complete",
)
else:
+ if self.check_existence and not self._has_checked_existence:
+ from airflow.utils.session import create_session
+
+ with create_session() as session:
+ self._check_for_existence(session=session)
Review Comment:
I forgot to save the test. Added it now
--
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]