tree_class_for_info#

lsst.images.serialization.tree_class_for_info(info: ArchiveInfo, path: ResourcePathExpression) type[ArchiveTree]#

Return the registered ArchiveTree subclass for info’s schema.

Parameters#

info

Basic archive info whose schema_name selects the tree class.

path

Path being opened, used only for the error message.

Raises#

ArchiveReadError

If no class is registered for the schema.