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
- GitHubContentsNamespace
- aiogithubapi.namespaces.events._GitHubEventsBaseNamespace
- GitHubGitNamespace
- GitHubIssuesNamespace
- GitHubOrgsNamespace
- aiogithubapi.namespaces.projects._BaseProjectsNamespace
- GitHubPullsNamespace
- GitHubReleasesNamespace
- GitHubReposNamespace
- GitHubTrafficNamespace
- GitHubUserNamespace
- GitHubUsersNamespace