tensorstore.KvStore.__truediv__(self, component: str | bytes) → KvStore

Returns a key-value store with an additional path component joined to the path.

Example

>>> store = await ts.KvStore.open({'driver': 'file', 'path': 'tmp/data'})
>>> store / 'abc'
KvStore({
  'context': {'file_io_concurrency': {}},
  'driver': 'file',
  'file_io_locking': {},
  'file_io_mode': {},
  'file_io_retries': {},
  'file_io_sync': True,
  'path': 'tmp/data/abc',
})
>>> store / '/abc'
KvStore({
  'context': {'file_io_concurrency': {}},
  'driver': 'file',
  'file_io_locking': {},
  'file_io_mode': {},
  'file_io_retries': {},
  'file_io_sync': True,
  'path': 'tmp/data/abc',
})