public_type_for_schema#

lsst.images.serialization.public_type_for_schema(schema_name)#

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

Return type:

type | None

This page was last modified on .