frozen_schema_path#
- lsst.images.serialization.frozen_schema_path(directory, tree_cls)#
Return the frozen-schema file path for
tree_clsunderdirectory.- Parameters:
directory (
Path) – Directory holding the frozen schema files.tree_cls (
type[ArchiveTree]) – Serialization model class to locate the file for.
- Return type:
Path
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.