prefect.client.utilities
Utilities for working with clients.
Functions
get_or_create_client
- client
: an optional client to use
-
- tuple: a tuple of the client and a boolean indicating if the client was inferred from context
client_injector
inject_client
client
kwarg and if a client is passed when
called it will be used instead of creating a new one, but it will not be context
managed as it is assumed that the caller is managing the context.