https://dagster.io/ logo
Title
m

Martim Passos

10/13/2021, 6:25 PM
Hi team, I’m a bit confused by the interoperability of
local_file_manager
and
s3_file_manager
. I understand they’re designed to use the same API so you can just switch modes, but the former uses a
local_file_handle
and the latter a
s3_file_handle
. So my code still needs some kind of checking to differentiate/determine which one to create or am I missing something here?
m

max

10/13/2021, 7:49 PM
i think the idea is for the file handler to create the handles -- your inputs/outputs can just be the base class,
FileHandle
does that make sense?
m

Martim Passos

10/20/2021, 1:15 PM
hi @max yes it does, thank you!
1