Module aiogithubapi.namespaces.base

Used for the GitHub API namespace.

Expand source code
"""Used for the GitHub API namespace."""
from ..client import GitHubClient


class BaseNamespace:
    """Used for the GitHub API namespace."""

    def __init__(self, client: GitHubClient) -> None:
        """Initialise the namespace."""
        self._client = client
        self.__post_init__()

    def __post_init__(self) -> None:
        """Post initialisation."""

Classes

class BaseNamespace (client: GitHubClient)

Used for the GitHub API namespace.

Initialise the namespace.

Expand source code
class BaseNamespace:
    """Used for the GitHub API namespace."""

    def __init__(self, client: GitHubClient) -> None:
        """Initialise the namespace."""
        self._client = client
        self.__post_init__()

    def __post_init__(self) -> None:
        """Post initialisation."""

Subclasses