Join Slack
Powered by
Hi Team - wondering if there is a way to create an...
# ask-the-community
h
Hud
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): ...
s
Samhita Alla
10/12/2023, 6:45 AM
@Hud
, do you want to automatically upload files to a remote directory in minio?
h
Hud
10/12/2023, 12:54 PM
Yes, to one that I can define a path to, in which I can create more subdirectories
s
Samhita Alla
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
.
11
Views
Open in Slack
Previous
Next