https://prefect.io logo
Title
m

Mohamed Alaa

08/01/2022, 10:41 AM
Hello guys! I've just found out about prefect not long ago and currently it a top candidate for our data workflow and pipeline. While i was going through the documentation, it stated that prefect 2.0 is under active development and prefect 1.0 is recommended for production use. Since prefect was officailly released a couple of days ago and is now the default installing package for pip, is it still true that prefect 2.0 is not recommended for production use? Is there also a way to visualize my workflow like in prefect 1.0's
flow.visuallize()
And also im really loving prefect and cannot wait to start working with it and exploring Thanks alot
o

Oscar Björhn

08/01/2022, 10:43 AM
I believe the recommendation has changed to "use Prefect 2.0". I don't know about visualize, maybe someone else does. 🙂
m

Mohamed Alaa

08/01/2022, 10:45 AM
I believe so too, but it is not yet changed in the documentation
a

Anna Geller

08/01/2022, 11:07 AM
Since the GA release, Prefect 2.0 is no longer in beta status and is therefore ready for production. Prefect 1.0 is in maintenance mode, 2.0 is LTS
to get visualization, the easiest way would be to start in a sandbox/development env - run your flow there, see if everything looks good, and if it does, then write deployment and then you can ship it to e.g. prod env
m

Mohamed Alaa

08/01/2022, 11:09 AM
Ok, great. Thank you very much
🙌 1
a

Anna Geller

08/01/2022, 11:15 AM
and to add: you can easily switch between those environments using profiles:
prefect profile use dev
python yourflow.py # see viz
prefect profile use prod
# build deployment
m

Mohamed Alaa

08/01/2022, 11:16 AM
Thats a very useful feature, thanks alot again