Prefect 1.0 -> 2.0 Question: Is there a reason that
Deployment.build_from_flow
requires a
.prefectignore
file? Currently have all of those flows in a pip installable python module, would be nice to be able to override that rather than need to skip upload in the build, and then separate calls to
apply()
and
upload_to_storage(...)
.
Joe
09/29/2022, 7:40 PM
I could treat the package in python like any other directory (since it's always a source dist) but it seems like a bad practice.
Joe
09/29/2022, 7:41 PM
Probably this is part of what pickling the flows previously was circumventing
a
Anna Geller
09/29/2022, 11:33 PM
Prefectignore file is an important concept to guard against uploading code you may not want to get uploaded to remote storage. Of you don't create it, Prefect will generate that for you automatically
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.