diff --git a/src/kili/entrypoints/client/__init__.py b/src/kili/entrypoints/client/__init__.py index 7cefa4eaa..690113775 100644 --- a/src/kili/entrypoints/client/__init__.py +++ b/src/kili/entrypoints/client/__init__.py @@ -15,6 +15,8 @@ from kili.core.graphql.graphql_client import GraphQLClient, GraphQLClientName from kili.core.graphql.operations.api_key.queries import APIKeyQuery, APIKeyWhere from kili.core.graphql.operations.user.queries import GQL_ME +from kili.entrypoints.client.internal import InternalEntrypoints +from kili.entrypoints.client.issue import IssueEntrypoints from kili.entrypoints.mutations.asset import MutationsAsset from kili.entrypoints.mutations.data_connection import MutationsDataConnection from kili.entrypoints.mutations.issue import MutationsIssue @@ -38,7 +40,6 @@ from kili.entrypoints.queries.user import QueriesUser from kili.entrypoints.subscriptions.label import SubscriptionsLabel from kili.exceptions import AuthenticationFailed, UserNotFoundError -from kili.internal import KiliInternal warnings.filterwarnings("default", module="kili", category=DeprecationWarning) @@ -172,7 +173,7 @@ def __init__( api_key_query = APIKeyQuery(self.graphql_client, self.http_client) self._check_expiry_of_key_is_close(api_key_query, self.api_key) - self.internal = KiliInternal(self) + self.internal = InternalEntrypoints(self) def _check_api_key_valid(self) -> None: """Check that the api_key provided is valid.""" diff --git a/src/kili/internal/__init__.py b/src/kili/entrypoints/client/internal.py similarity index 96% rename from src/kili/internal/__init__.py rename to src/kili/entrypoints/client/internal.py index 68600a9c6..87f879680 100644 --- a/src/kili/internal/__init__.py +++ b/src/kili/entrypoints/client/internal.py @@ -8,7 +8,7 @@ from kili.entrypoints.queries.api_key import QueriesApiKey -class KiliInternal(MutationsOrganization, QueriesApiKey): +class InternalEntrypoints(MutationsOrganization, QueriesApiKey): """Inherit classes for internal use by Kili Technology only.""" def __init__(self, kili):