https://prefect.io logo
j

Javier Ochoa

11/03/2022, 7:29 PM
Hello, question. Is there a way to change the backend to "cloud" or "server" directly from the prefect python api?
k

Kalise Richmond

11/03/2022, 9:54 PM
Hi Javier, are you using Prefect 1.x or 2.x?
j

Javier Ochoa

11/03/2022, 10:07 PM
Hello @Kalise Richmond I am using Prefect 1.x
k

Kalise Richmond

11/03/2022, 10:19 PM
I believe you can set the
api_server
on the client connection to switch between 'cloud' or 'server' https://docs-v1.prefect.io/api/latest/client/client.html#client-2