uranusjr commented on code in PR #60999:
URL: https://github.com/apache/airflow/pull/60999#discussion_r2730436483
##########
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:
Do paths inside a zip file use `os.sep`…? My understanding is they always
use `/` regardless of the platform.
--
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]