check_frozen_schemas#
- lsst.images.serialization.check_frozen_schemas(directory, package='lsst.images')#
Check the frozen schema files against the current models.
- Parameters:
directory (
Path) – Directory holding the frozen{name}-{version}.jsonfiles.package (
str, default:'lsst.images') – Package whose schemas to check; seeavailable_schema_classes.
- Returns:
One problem description per current schema whose frozen file is missing or does not match the current model; empty when the frozen files are up to date.
- Return type:
Notes
Schemas at a development version (a PEP 440
.devNrelease) are skipped and not reported as missing.