Backend#

class lsst.images.serialization.Backend(name: str, write: Callable[..., object], input_archive: type[InputArchive])#

Bases: object

A file-format backend resolved from a path suffix.

Bundles the backend’s free write function and its InputArchive subclass. Reading goes through the generic open / read in lsst.images.serialization, which use the InputArchive’s get_basic_info and open_tree.