Daniel Nilsen
03/07/2022, 4:26 PMflow.register(«myProject»). To connect to the server I change the server.endpoint in config.toml to the correct url. This works. But I don’t want to change the config manualy like this. Is there a way to temporarily change it when registering? I have tried set_temporary_config({"server.endpoint": "123"}) but it does not seem to work 🤔Kevin Kho
flow.register() will use the existing clientKevin Kho
import os and os.environ["PREFECT___SERVER___ENDPOINT"]="your_endpoint" and then when you import Prefect, this env variable is set in the context. You need to do it before you import Prefect thoughDaniel Nilsen
03/07/2022, 9:51 PM