- tensorstore.KvStore.__add__(self, suffix: str) KvStore
Returns a key-value store with the suffix appended to the path.
The suffix is appended directly to
path
without any separator. To ensure there is a'/'
separator, use__truediv__
instead.Example
>>> store = await ts.KvStore.open({'driver': 'file', 'path': 'tmp/data'}) >>> store + '/abc' KvStore({ 'context': { 'file_io_concurrency': {}, 'file_io_locking': {}, 'file_io_memmap': False, 'file_io_sync': True, }, 'driver': 'file', 'path': 'tmp/data/abc', }) >>> store + 'abc' KvStore({ 'context': { 'file_io_concurrency': {}, 'file_io_locking': {}, 'file_io_memmap': False, 'file_io_sync': True, }, 'driver': 'file', 'path': 'tmp/dataabc', })