Skip to content

katana_public_api_client.helpers.base

katana_public_api_client.helpers.base

Base class for domain classes.

Classes

Base(client)

Base class for all domain classes.

Provides common functionality and access to the KatanaClient instance.

Parameters:

  • client (KatanaClient) –

    The KatanaClient instance to use for API calls.

Parameters:

  • client (KatanaClient) –

    The KatanaClient instance to use for API calls.

Source code in katana_public_api_client/helpers/base.py
def __init__(self, client: KatanaClient) -> None:
    """Initialize with a client instance.

    Args:
        client: The KatanaClient instance to use for API calls.
    """
    self._client = client
Functions