read_fixture_tree#

lsst.images.tests.read_fixture_tree(fixture)#

Validate a fixture through its live model and return the tree.

Parameters:

fixture (SchemaFixture) – The fixture to read.

Returns:

The validated tree, parameterized over JsonRef as the JSON backend does.

Return type:

ArchiveTree

Raises:
  • ArchiveReadError – Raised when a retired fixture is rejected by Pydantic validation.

  • RuntimeError – If the fixture’s schema is not registered.

This page was last modified on .