Hi, What is the correct Flyte way to return a list...
# flyte-support
l
Hi, What is the correct Flyte way to return a list of files? (they are currently in a zip, and i want to split them into batches after). When i return List[FlyeFile] i get permission denied for the files (saving in /tmp) When returning them from a task
f
You can return a zip as a single file
You can still split it later just return the zip for now
Also list of Flytefile should work
l
they are already in a zip, i want to unzip them to chunk into batches for a map_task. A list of FlyeDIrectorys actually worked, not sure why a list of FlyteFiles didn't.
f
Hmm weird - you can also use an iterator to stream write
l
Interesting, and that will make each pod only download each needed batches?
f
Can share a snippet in a bit once at the keyboard