frozen_schema_path#
- lsst.images.serialization.frozen_schema_path(directory: Path, tree_cls: type[ArchiveTree]) Path#
Return the frozen-schema file path for
tree_clsunderdirectory.Parameters#
- directory
Directory holding the frozen schema files.
- tree_cls
Serialization model class to locate the file for.
Notes#
Files are laid out as
{name}/{name}-{version}.json: one subdirectory per schema so the directory stays navigable as versions accumulate, with the full name-version filename kept so a file is self-identifying when copied elsewhere.