tensorstore.TensorStore.kvstore : KvStore | None

Associated key-value store used as the underlying storage.

Equal to None if the driver does not use a key-value store.

Example

>>> store = await ts.open(
...     {
...         'driver': 'n5',
...         'kvstore': {
...             'driver': 'memory',
...             'path': 'abc/',
...         }
...     },
...     create=True,
...     shape=[100, 200],
...     dtype=ts.uint32,
... )
>>> store.kvstore
KvStore({'context': {'memory_key_value_store': {}}, 'driver': 'memory', 'path': 'abc/'})