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=None, secret=None, endpoint=None, *, ssl_verify=True, timeout=None, backoff_config: BackoffConfig | None = None)[source]
Bases:
objectVAST 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”)