Ref

Durable reference to a persistent Blosc2 object, a member inside a DictStore, or a remote C2Array.

class blosc2.Ref(kind: str, urlpath: str | None = None, key: str | None = None, path: str | None = None, urlbase: str | None = None)[source]

A durable reference to a Blosc2 object.

Ref can describe:

Instances can be created directly, from dictionaries via from_dict(), or from supported objects via from_object(). Use open() to resolve the reference back into a live Blosc2 object.

Attributes:
key
kind
path
urlbase
urlpath

Methods

c2array_ref

dictstore_key

from_dict

from_object

open

to_dict

urlpath_ref