jolly-florist-66728
10/16/2024, 1:24 PMShellTask
to curl + gunzip
a file. The input filename is formatted like date.json.gz
and I want to set the output location to date.json
, that is, to strip off the .gz
from the {input.filename}
. I see the OutputLocation
dataclass allows using a regex: https://github.com/flyteorg/flytekit/blob/f16419136abcf971d30d3398bd7b35a7b6aec904/flytekit/extras/tasks/shell.py#L37 but I can't figure out how that works. Are there any examples? Thanks!
# Answer
I'm not able to find any data sources to answer your question. You might want to provide more details on the specific error or issue you're encountering with the regex usage. If this doesn't help, please reach out to the Flyte support team for further assistance.
Slack Link
https://.slack.com/archives/CP2HDHKE1/p1729085037.767729 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.