client_factory
The client factory module is responsible for creating a client instance.
Classes:
Name | Description |
---|---|
ClientFactory |
Client factory class. |
Attributes:
Name | Type | Description |
---|---|---|
logger |
|
logger = logging.getLogger(__name__)
#
ClientFactory(api_key: str, api_url: str)
#
Client factory class.
Methods:
Name | Description |
---|---|
__call__ |
Return an authenticated client instance. |
Attributes:
Name | Type | Description |
---|---|---|
CURRENT |
ContextVar[ClientFactory]
|
|
api_key |
|
|
api_url |
|