- tensorstore.KvStore.copy(self) KvStore
Returns a copy of the key-value store.
Example
>>> a = await ts.KvStore.open({'driver': 'file', 'path': 'tmp/data/'}) >>> b = a.copy() >>> a.path = 'tmp/data/abc/' >>> a KvStore({ 'context': {'file_io_concurrency': {}}, 'driver': 'file', 'path': 'tmp/data/abc/', }) >>> b KvStore({'context': {'file_io_concurrency': {}}, 'driver': 'file', 'path': 'tmp/data/'})