Im trying to locally deploy some prefect flows using flow.deploy(), but to simulate our dev and prod envs I have the work-pool type set at process, are these two settings incompatible? I cannot get the workers to find the files since there is no way of setting the paths for local files as there where before using Deployments.build_from_flow().
The new way of using myflow.from_source().deploy() also does not work locally since from_source does not take in any file paths. Any ideas what I can do here ?
From my understanding I should only be using flow.deploy if i want to bake the flowcode into a docker image right since this method by default builds a docker image and so on. So lets say I use flow.serve() instead, but then my workers will not be able to function properly since they wont know where to find the flow code...
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.