function in Prefect is used to obtain a client for interacting with the Prefect API. It takes the following parameters:
-
httpx_settings
(optional): A dictionary of settings to configure the HTTPX client.
- `sync_client`: A boolean indicating whether to return a synchronous client. Defaults to
False
.
It returns either a
SyncPrefectClient
or a
PrefectClient
, depending on the
sync_client
parameter.
For more details, you can explore the Prefect documentation (though, unfortunately, I can't provide a direct link to the exact page).
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.