AyushB
01/26/2025, 11:45 PMMarvin
01/26/2025, 11:45 PMPrefectClient
to a local Prefect server running at <http://127.0.0.1:4200>
, you should set the PREFECT_API_URL
environment variable to this URL. This will configure the client to communicate with your local server instance.
Here's how you can set it in your environment:
bash
export PREFECT_API_URL=<http://127.0.0.1:4200>
After setting this environment variable, the PrefectClient
will use it as the API endpoint to interact with your local Prefect server.
For more details, you can refer to the Prefect documentation: Connect to Prefect Cloud