https://prefect.io logo
l

Lior Barak

08/21/2023, 7:54 AM
hey is there any way to trigger a deployment with API by name instead of ID? or to set deployment ID on creation? this causes interface changes if, for example, the server or DB crashes
t

Tom Klein

08/21/2023, 8:46 AM
we do run deployment by name, but using the library, not the API in the API looks like you can find the deployment ID by name and then start the run
image.png
l

Lior Barak

08/21/2023, 9:08 AM
yeah I considered using 2 api calls but was hoping to avoid that to keep the calling function simpler 😕
😕 1