https://prefect.io logo
d

Dolor Oculus

10/06/2020, 6:05 PM
I feel like I've seen this in the docs, but I can't find it now 😕 If I want to configure which server my code uses (ie dev vs uat vs prod), I am currently doing it by setting
PREFECT__SERVER__ENDPOINT
(in bash, before invoking Python). Are their other ways of configuring this? (ie via constructor arguments at runtime)? ty!
j

Jenny

10/06/2020, 6:35 PM
Hi @Dolor Oculus - would setting flow labels help here? That would configure which agent (which would be tied to an environment/server) picks up and runs your code.