TensorStore
tensorstore.KvStore.base
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
        • Core
          • CTensorStore
          • CContext
          • CKvStore
            • Classes
            • Constructors
            • Accessors
              • Ppath
              • Purl
              • Pbase
              • Mspec
              • Mcopy
            • I/O
            • Synchronous I/O
            • Operators
            • Transactions
            • String representation
          • CTransaction
          • CBatch
          • Fopen
        • Indexing
        • Spec
        • Views
        • Data types
        • Asynchronous support
        • OCDBT
        • Experimental
      • API reference
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    tensorstore.KvStore.base : KvStore | None

    Underlying key-value store, if this is a key-value store adapter.

    Adapter key-value stores include:

    • ocdbt Key-Value Store driver

    • neuroglancer_uint64_sharded Key-Value Store driver

    For regular, non-adapter key-value stores, this is None.

    Example

    >>> store = await ts.KvStore.open({
    ...     'driver': 'ocdbt',
    ...     'base': 'memory://'
    ... })
    >>> store.base
    KvStore({'context': {'memory_key_value_store': {}}, 'driver': 'memory'})
    

    See also

    • KvStore.Spec.base

    Back to top
    Previous tensorstore.KvStore.url
    Next tensorstore.KvStore.spec