Channels
datahub-flyte
scipy-2023-workshop
flyte-school
agent-support-memverge
flyte-build
flyte-users-berlin
scipy-2023-sprint
auth
flyte-bazel
large-language-models
contribute
bioinformatics-computational-biology
great-content
in-flyte-conversations
flyte-on-gcp
show-and-tell
shameless-promotion
linkedin-flyte
random
deployment
hacktoberfest-2023
flyte-github
feature-discussions
linen-test
flytelab
flytekit-java
integrations
ray-on-flyte
conference-talks
release
flyte-ui-ux
workflow-building-ui-proj
writing-w-sfloris
jobs
hacktoberfest-2022
torch-elastic
flyte-console
engineeringlabs
helsing-flyte
flyte-documentation
konan-integration
databricks-integration
ray-integration
wg-gpu-types
flytekit
ecosystem-unionml
scipy-2022-sprint
announcements
ask-the-community
flyte-deployment
introductions
events
Powered by
#ask-the-community
Title
# 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
.
Post