https://prefect.io logo
#prefect-community
Title
# prefect-community
t

Tom Thurstan

07/25/2022, 10:23 AM
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

Riccardo Tesselli

07/25/2022, 10:55 AM
I’ve faced a similar issue but with
KubernetesFlowRunner
, I’ve solved taking a look into the
prefect.infrastructure
package
t

Tom Thurstan

07/25/2022, 10:58 AM
Ah! Thank you. So I guess you replaced
KubernetesFlowRunner
with
KubernetesJob
?
r

Riccardo Tesselli

07/25/2022, 10:59 AM
exactly, notice that now the
Deployment
object requires a instance of
Infrastructure
t

Tom Thurstan

07/25/2022, 11:03 AM
ah yes I see, thanks. Did you read this somewhere? Or are you just figuring it out from the source code?
r

Riccardo Tesselli

07/25/2022, 11:05 AM
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

Tom Thurstan

07/25/2022, 11:06 AM
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

Riccardo Tesselli

07/25/2022, 11:06 AM
I think it’s better to wait a couple of days for the public release
12 Views