vastdb.session

VAST database session.

It should be used to interact with a specific VAST cluster. For more details see: - [Virtual IP pool configured with DNS service](https://support.vastdata.com/s/topic/0TOV40000000FThOAM/configuring-network-access-v50) - [S3 access & secret keys on VAST cluster](https://support.vastdata.com/s/article/UUID-4d2e7e23-b2fb-7900-d98f-96c31a499626) - [Tabular identity policy with the proper permissions](https://support.vastdata.com/s/article/UUID-14322b60-d6a2-89ac-3df0-3dfbb6974182)

class vastdb.session.Session(access: str | None = None, secret: str | None = None, endpoint: str | None = None, *, max_entities_per_page: int = 10000, ssl_verify: bool = True, timeout=None, backoff_config: BackoffConfig | None = None, adbc_driver_path: str | None = None, end_user: str | None = None)[source]

Bases: object

VAST database session.

transaction() Transaction[source]

Create a non-initialized transaction object.

It should be used as a context manager:

with session.transaction() as tx:

tx.bucket(“bucket”).create_schema(“schema”)