class_for_schema#

lsst.images.serialization.class_for_schema(schema_name)#

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 (str) – Schema name (e.g. "visit_image").

Return type:

type[ArchiveTree] | None

This page was last modified on .