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.
Refcan describe:a persistent local Blosc2 object reopenable from
urlpatha member inside a
blosc2.DictStorea remote
blosc2.C2Array
Instances can be created directly, from dictionaries via
from_dict(), or from supported objects viafrom_object(). Useopen()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