Hi Prefect team! Since upgrading to Prefect-2.0b12...
# prefect-community
t
Hi Prefect team! Since upgrading to Prefect-2.0b12 the module flow_runners no longer exists. Where are we supposed to import e.g. SubprocessFlowRunner from? Have tried to find it in the package but no luck. Thanks!
1
r
I’ve faced a similar issue but with
KubernetesFlowRunner
, I’ve solved taking a look into the
prefect.infrastructure
package
t
Ah! Thank you. So I guess you replaced
KubernetesFlowRunner
with
KubernetesJob
?
r
exactly, notice that now the
Deployment
object requires a instance of
Infrastructure
t
ah yes I see, thanks. Did you read this somewhere? Or are you just figuring it out from the source code?
r
I’ve checked a couple of hours ago if the documentation was updated but still no luck, so I went directly looking at the code
t
Yeah that’s what I thought. I was hoping you were going to say you had found new docs somewhere haha! Even the docstrings in the code itself seem to be out of date
r
I think it’s better to wait a couple of days for the public release