astonishing-airport-72525
09/18/2024, 1:33 PMhigh-park-82026
high-park-82026
high-park-82026
from flytekit import task, FlyteDirectory
@task
def process_files() -> FlyteDirectory:
local_dir = "/path/to/local/dir"
remote_path = "<s3://your-bucket/specific/path/>"
return FlyteDirectory(local_dir, remote_path=remote_path)
high-park-82026
thankful-minister-83577
high-park-82026
astonishing-airport-72525
09/19/2024, 1:13 PMdamp-lion-88352
09/20/2024, 4:47 PMdirectories work for containertasks? i thought copilot was not able to i/o directories yet.output is able, input is not
high-park-82026
pyflyte run --remote
command, you can append --raw-data-prefix <s3://my-custom-bucket/my-custom-prefix/>
that should instruct the system to store in that location insteadhigh-park-82026
astonishing-airport-72525
09/20/2024, 10:55 PMhigh-park-82026
astonishing-airport-72525
09/20/2024, 11:51 PM