qbraid_core

This top level module contains the main qBraid public functionality.

Classes

Session(*args[, base_url, headers, ...])

Custom session with handling of request urls and authentication.

QbraidClient([api_key, session])

Base class for qBraid micro-service clients.

QbraidSession(*args[, api_key])

Custom session with handling of request urls and authentication.

Functions

client(*args, **kwargs)

Create a client for a specified service using the default session.

setup_default_session(**kwargs)

Set up a default session, passing through any parameters to the session constructor.

Exceptions

QbraidException([message])

Custom exception class for qBraid core errors.

QbraidChainedException([message, exceptions])

Custom exception class to handle multiple underlying exceptions.

AuthError([message])

Base class for errors raised authorizing user

ConfigError([message])

Base class for errors raised while setting a user configuartion

RequestsApiError([message])

Exception re-raising a RequestException.

ResourceNotFoundError([message])

Exception re-raising a RequestException.

UserNotFoundError([message])

Exception raised when a user is not found.