tensorstore.KvStore.Spec.__add__(self, suffix: str) KvStore.Spec

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

>>> spec = ts.KvStore.Spec({'driver': 'file', 'path': 'tmp/data'})
>>> spec + '/abc'
KvStore.Spec({'driver': 'file', 'path': 'tmp/data/abc'})
>>> spec + 'abc'
KvStore.Spec({'driver': 'file', 'path': 'tmp/dataabc'})