https://prefect.io logo
i

itay livni

10/24/2019, 8:36 PM
How do you add a custom
filepath
to visualize? Using the script from the visualize docs I added filename as an arg. But I do not see the write to s3. I am assuming that s3fs is available for writing this file (if that is the right terminology?)
c

Chris White

10/24/2019, 8:52 PM
Hi itay, the
filename
argument assumes a local file path, there are no hooks for external services
i

itay livni

10/24/2019, 9:05 PM
yeah so that was the assumption. That s3fs was available. Again not sure available is the right terminology here
c

Chris White

10/24/2019, 9:09 PM
yup i’m definitely familiar; we’d have to introduce all sorts of switching logic depending on the location things are being written to though
i

itay livni

10/24/2019, 9:49 PM
oh that sound cumbersome. Looking at the visualize code.. would it be fair to say that writing s3 in that manner should be done in graphviz? that way
graph.render(filename, view=False)
does not change?
c

Chris White

10/24/2019, 10:07 PM
yea that’s correct, we just pass that keyword directly to
graphviz
i

itay livni

10/24/2019, 11:00 PM
Untitled
💯 1