soooojinlee commented on code in PR #60999:
URL: https://github.com/apache/airflow/pull/60999#discussion_r2745283618


##########
task-sdk/src/airflow/sdk/definitions/_internal/templater.py:
##########
@@ -37,6 +40,10 @@
     from airflow.sdk.types import Operator
 
 
+# Regex pattern to detect zip file paths: matches 
"path/to/archive.zip/inner/path"
+ZIP_REGEX = re.compile(rf"((.*\.zip){re.escape(os.sep)})?(.*)")

Review Comment:
   Thanks for the feedback! I've updated the `ZIP_REGEX` to handle 
cross-platform path separators and added support for relative `template_search` 
path in zipped DAGs. 



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

Reply via email to