Hello all, how can i deploy the same flow for sevral projects with some different predefined variab...
q
Hello all, how can i deploy the same flow for sevral projects with some different predefined variables (not in input)? thx
k
Hey @Qin XIA, so the issue with Prefect right now is that you can only have one version of a Flow at a time. This will be changing soon where you can have multiple versions of a flow with different configurations. This is a bit tricky programatically. Getting it to different projects is easy, you can just loop and call
flow.register()
. The parameters is the harder part. You might need to use the
Client
and hit the
GraphQL API
to
set_flow_group_parameters
, which takes in a flow group id and a JSON of the parameters.
q
@Kevin Kho thx for your response, hope the new version coming soon👀