Iuliia Volkova
08/04/2022, 10:20 AMflow_data
key, so we deployed flows this way and in our case it was very useful. We need to deploy flow with REST API without using Prefect cli or prefect as a python package. Prefect runs on a totally separate server. Now in 2.0.2 I cannot find how to do this. I read about blocks but I cannot find that block used as default in Prefect to store flow data. So can anyone explain how implement same flow as with flow_data
in version 2.0b8 and early? How can I just submit Flow code with rest api to deploy it on Server? Thanks in Advance!Anna Geller
How can I just submit Flow code with rest api to deploy it on Server?The easiest is to create a deployment. If you don't want to use the CLI
prefect deployment build + apply
, you can use client.create_deployment
Iuliia Volkova
08/04/2022, 12:13 PM