- tensorstore.KvStore.Spec(json: Any)
Constructs from the
JSON representation
or 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://tmp/data/') >>> spec KvStore.Spec({'driver': 'file', 'path': 'tmp/data/'})