- tensorstore.KvStore.Spec(json: Any)
Constructs from the
JSON representationor aURL.Example of constructing from the
JSON representation:>>> spec = ts.KvStore.Spec({'driver': 'file', 'path': 'tmp/data/'}) >>> spec KvStore.Spec({'driver': 'file', 'path': 'tmp/data/'})Example of constructing from a
URL:>>> spec = ts.KvStore.Spec('file:///path/to/data/') >>> spec KvStore.Spec({'driver': 'file', 'path': '/path/to/data/'})