thanosql._base_client

Module Contents

Classes

ThanoSQLBaseClient

Base client for accessing various ThanoSQL services.

class thanosql._base_client.ThanoSQLBaseClient(token: str, base_url: str, version: str)[source]

Base client for accessing various ThanoSQL services.

token

Access token to be used in the request header.

Type:

str

base_url

Base URL of the ThanoSQL service.

Type:

str

version

Version of the API.

Type:

str

url

Base API URL of the ThanoSQL service that contains the base_url and version.

Type:

str

Raises: