Join Slack
Powered by
Hi Team - wondering if there is a way to create an...
# flyte-support
c
cold-train-21872
10/11/2023, 2:07 PM
Hi Team - wondering if there is a way to create an output dir and upload files to minio with ImageSpec without using ContainerTask such as shown in
https://gist.github.com/pryce-turner/0a67f86febdc812c9a2a9e739c22eeca
Something like
def process(in_fd: FlyteDirectory, out_fd: FlyteDirectory): ...
t
tall-lock-23197
10/12/2023, 6:45 AM
@cold-train-21872
, do you want to automatically upload files to a remote directory in minio?
c
cold-train-21872
10/12/2023, 12:54 PM
Yes, to one that I can define a path to, in which I can create more subdirectories
t
tall-lock-23197
10/12/2023, 3:01 PM
If you want to specify the path, you can set `remote_directory`:
https://github.com/flyteorg/flytekit/blob/54e68e0dbdb7d5366f43848fe35b9ea69ee3a1b3/flytekit/types/directory/types.py#L126
.
15
Views
Open in Slack
Previous
Next