public_type_for_schema#

lsst.images.serialization.public_type_for_schema(schema_name: str) type | None#

Return the in-memory Python class produced when reading an archive whose top-level tree has schema name schema_name.

Looks the schema name up in the registry and returns the registered tree’s PUBLIC_TYPE ClassVar (the type its deserialize produces). Returns None when nothing is registered for schema_name.

Parameters#

schema_name

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