ephraimbuddy commented on code in PR #27056:
URL: https://github.com/apache/airflow/pull/27056#discussion_r995672871
##########
airflow/sensors/external_task.py:
##########
@@ -261,7 +262,7 @@ def _check_for_existence(self, session) -> None:
if not dag_to_wait:
raise AirflowException(f'The external DAG {self.external_dag_id}
does not exist.')
- if not os.path.exists(dag_to_wait.fileloc):
+ if not os.path.exists(correct_maybe_zipped(dag_to_wait.fileloc)):
Review Comment:
Add some tests to verify this
--
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]