class_for_schema#

lsst.images.serialization.class_for_schema(schema_name: str) type[ArchiveTree] | None#

Return the registered ArchiveTree subclass for schema_name.

If no class is already registered, this attempts schema-specific lazy imports from built-in providers and then from entry points in the lsst.images.schemas group before returning None.

Parameters#

schema_name

Schema name (e.g. "visit_image").