@ancient-wolf-19325 I am using containertasks to process some files and return a flytedirectory , has anyone figured out a way to set the upload path in s3 instead of the randomly generated path?
j
jolly-florist-66728
09/18/2024, 4:31 PM
Yes, you can set the upload path in S3 for a
FlyteDirectory
instead of using the randomly generated path. You can specify the
remote_path
parameter when returning a
FlyteDirectory
object. This allows you to control where the directory contents are uploaded in your S3 bucket.
Here's an example:
, the contents of the local directory will be uploaded to the specified S3 path.
Would you like more details on this or any other aspect of Flyte?
Sources:
- FlyteDirectory documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.