Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions keystone_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,16 @@

import httpx
from httpx import HTTPStatusError

from keystone_client.http import AsyncHTTPClient, HTTPClient
from keystone_client.schema import Endpoint, Schema


class ClientBase(abc.ABC):
"""Base client class with shared application constants and helpers."""

schema = Schema()

LOGIN_ENDPOINT = Endpoint('authentication/login')
LOGOUT_ENDPOINT = Endpoint('authentication/logout')
IDENTITY_ENDPOINT = Endpoint('authentication/whoami')
LOGIN_ENDPOINT = 'authentication/login'
LOGOUT_ENDPOINT = 'authentication/logout'
IDENTITY_ENDPOINT = 'authentication/whoami'

@abc.abstractmethod
def login(self, username: str, password: str, timeout: int) -> None:
Expand Down
40 changes: 0 additions & 40 deletions keystone_client/schema.py

This file was deleted.

Empty file.
87 changes: 0 additions & 87 deletions tests/unit_tests/test_schema/test_Endpoint.py

This file was deleted.

Loading