parameterize_tree#
- lsst.images.serialization.parameterize_tree(tree_cls: type[ArchiveTree], pointer_type: type[Any]) type[ArchiveTree]#
Parameterise
tree_clsoverpointer_typeif it is generic.Some
ArchiveTreesubclasses (e.g.SumFieldSerializationModel) take no type parameters; their_get_archive_tree_typereturns the class itself. Match that behaviour here so per-backendopen_treeimplementations can call this uniformly.