https://prefect.io logo
Title
f

Frederick Thomas

05/10/2022, 8:22 PM
Hi all, We are currently using Prefect version 0.14.17 in both our development and production environments, can we safely migrate to 1.0.2? Thanks!!
k

Kevin Kho

05/10/2022, 8:24 PM
The biggest change is the change from API token to API key. Other than that, you should largely be good.
f

Frederick Thomas

05/10/2022, 8:26 PM
Thanks!! I'll tell the team the good news.
k

Kevin Kho

05/10/2022, 8:28 PM
Also Environments were deprecated. There was stuff like DaskEnvironments. Those would not work
f

Frederick Thomas

05/10/2022, 8:29 PM
But the python API is essentially the same, like:
from prefect import task, Flow
?? if so then I think we're good
k

Kevin Kho

05/10/2022, 8:40 PM
Exactly yes