Hi all,
prefect version 2.20.10
is it possible to override the PREFECT_API_URL from a flow run? Google and other sources suggests that this should work but while testing this it does not seem to work.
Copy code
from prefect import flow, get_client
@flow
async def my_flow():
client = get_client()
client.api_url = "<http://target-prefect-server:4200/api>"
print(f"API URL set to: {client.api_url}")
# You can now make client calls or run your flow tasks
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.