<@ULVA73B9P>, what is the definition of `get_clien...
# ask-marvin
p
@Marvin, what is the definition of
get_client()
m
The
get_client()
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).