atoti.query package

Module contents

There are two main ways to query atoti sessions in Python:

atoti.open_query_session(), atoti.query.cube.QueryCube.query(), and atoti.query.session.QuerySession.query_mdx() can be used to query sessions started from remote atoti processes or classic ActivePivot (version >= 5.7) servers.

atoti.query.create_basic_authentication(username, password)

Create a basic authentication.

Return type

Callable[[str], Optional[Mapping[str, str]]]

atoti.query.create_token_authentication(token)

Create an authentication based on a Bearer token.

Parameters

token (str) – The token to use to authenticate, such as a JWT.

Return type

Callable[[str], Optional[Mapping[str, str]]]