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