available_schema_classes#
- lsst.images.serialization.available_schema_classes(package: str = 'lsst.images') list[type[ArchiveTree]]#
Return every
ArchiveTreesubclass owned bypackage, sorted by schema name.Parameters#
- package
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.
Notes#
Candidate schemas come from the in-memory registry, the built-in lazy providers, and the
lsst.images.schemasentry point group, so an external package’s schemas are found even when nothing has imported their modules yet.