available_schema_classes#

lsst.images.serialization.available_schema_classes(package='lsst.images')#

Return every ArchiveTree subclass owned by package, sorted by schema name.

Parameters:

package (str, default: 'lsst.images') – Only classes whose defining module is this package (or a subpackage of it) are returned, so a package freezes and publishes exactly the schemas it owns, and schema classes created elsewhere (e.g. test doubles) are never picked up by accident.

Return type:

list[type[ArchiveTree]]

Notes

Candidate schemas come from the in-memory registry, the built-in lazy providers, and the lsst.images.schemas entry point group, so an external package’s schemas are found even when nothing has imported their modules yet.

This page was last modified on .