https://dagster.io/ logo
p

Pedram

03/08/2020, 5:12 AM
Think I’m a little confused around the FileHandle type and I can’t find any documentation on it. I’m using the
file_handle_to_s3
solid, which expects a FileHandle. My previous step is a postgres job that writes a CSV file to disk. How do I give this file handle to the next task? I tried returning the file name, and returning
open(fn)
but neither seem right.
Ah I think I figured it out. Not sure if this is the expected way, but I returned
LocalFileHandle(fname)
from my previous solid and it seemed to do the trick!
3 Views