Documentation Index
Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
Use this file to discover all available pages before exploring further.
final class atoti.Session
The entry point to interact with Atoti applications. A session holds data intables and aggregates it in cubes.
It also serves a web app for data exploration accessible with link.
It can be created with either start() or connect().
add_external_table | Add a table from an external database to the session. |
|---|---|
client | The lower level client used by this session to communicate with Atoti Server. |
close | Close this session and free all associated resources. |
clusters | The clusters that this session contribute to. |
connect | Connect to an existing session. |
connect_to_external_database | Connect to an external database using DirectQuery. |
create_cube | Create a cube based on the passed table. |
create_scenario | Create a new source scenario. |
create_table | Create an empty table with columns of the given data_types. |
cubes | The cubes in this session. |
data_model_transaction | Create a data model transaction to batch multiple data model changes. |
delete_scenario | Delete the source scenario with the provided name if it exists. |
endpoint | Create a custom endpoint at f"/proxy/{route}". |
export_translations_template | Export a template containing all translatable values in the session’s cubes. |
link | Link to the session. |
logs_path | Path to the session logs file. |
proxy | |
query_mdx | Execute an MDX query. |
read_arrow | Read an Arrow table into an Atoti table. |
read_csv | Read a CSV file into a table. |
read_pandas | Read a pandas DataFrame into a table. |
read_parquet | Read a Parquet file into a table. |
ready | Whether the session is ready or not. |
scenarios | Names of the source scenarios of the session. |
security | |
start | Start a new Atoti server subprocess and connect to it. |
tables | |
url | URL of the session. |
user | The user behind this session. |
wait | Wait for the underlying server subprocess to terminate. |
widget | Widget to visualize the data in the session interactively. |