canonical_fixture_text#

lsst.images.tests.canonical_fixture_text(tree)#

Return the canonical file serialization of a tree.

Parameters:

tree (ArchiveTree) – Serialization model instance to write.

Return type:

str

Notes

Model field order is kept rather than sorting keys, so the version stamps stay at the top of the file where a human reading it looks first. The form is idempotent: re-reading the result and re-serializing reproduces it byte for byte.

This page was last modified on .