:orphan: :py:mod:`thanosql._base_client` =============================== .. py:module:: thanosql._base_client Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: thanosql._base_client.ThanoSQLBaseClient .. py:class:: ThanoSQLBaseClient(token: str, base_url: str, version: str) Base client for accessing various ThanoSQL services. .. attribute:: token Access token to be used in the request header. :type: str .. attribute:: base_url Base URL of the ThanoSQL service. :type: str .. attribute:: version Version of the API. :type: str .. attribute:: url Base API URL of the ThanoSQL service that contains the base_url and version. :type: str :raises ThanoSQLPermissionError: - If an invalid API token is provided. - If an operation is forbidden. :raises ThanoSQLAlreadyExistsError: If an object with the same name already exists. :raises ThanoSQLNotFoundError: If a requested object is not found. :raises ThanoSQLValueError: If input values are in incorrect format. :raises ThanoSQLInternalError: If an error happens while doing operations on the workspace or fetching data from the database.