https://prefect.io logo
z

Ziyao Wei

04/11/2020, 5:49 PM
Also - bug report - https://docs.prefect.io/orchestration/execution/storage_options.html#local the code samples on this page largely don’t work and Python says
storage
isn’t defined
c

Chris White

04/11/2020, 5:57 PM
Thanks for noting that; the
storage
calls should be replaced with
flow.storage.build()
👍 1
z

Ziyao Wei

04/11/2020, 5:59 PM
Ah I should have figured that out 🙂
c

Chris White

04/11/2020, 6:00 PM
no worries! I’ve already made a PR to update the code examples
z

Ziyao Wei

04/11/2020, 6:00 PM
I am using
flow.register()
and it seems to do it automatically?