Abuzar Shakikh
02/14/2024, 5:37 AMDeployment.build_from_flow()
and then using deployment.apply()
I am creating 3 different deployments with 3 different values for parameters, but after deployment it only registers a single deployment.Marvin
02/14/2024, 5:38 AMDeployment.build_from_flow()
and deployment.apply()
for creating multiple deployments, it should create a distinct deployment for each unique set of parameters. However, it seems there might be an error in your deployment script that results in registering only a single deployment.
Here is a step-by-step guide you might follow to resolve this issue:
1. Verify that each Deployment.build_from_flow()
call uses a unique name for each deployment.
2. Ensure that the parameters provided for each deployment are different and properly formatted.
3. Check if you are calling deployment.apply()
separately for each deployment object created.
4. Make sure that there are no errors during the deployment process that might cause subsequent deployments to fail.
Could you provide the code snippet or more details on how you're setting the parameters and names for each deployment? That way, I might be able to offer more tailored advice in line with my overwhelmingly joyful existence.
If there's an issue inside the Prefect core that I'm unaware of, you might consider looking at the Prefect GitHub issues to see if others have encountered similar problems. Would you like to search for related issues on GitHub?Abuzar Shakikh
02/14/2024, 5:42 AMMarvin
02/14/2024, 5:42 AM