load_templates#

ADR.load_templates(templates: dict) None#

Load a template tree from a Python dictionary.

Parameters:
templatesdict

A mapping produced by Template.to_dict(), typically by reading JSON and decoding it.

Raises:
ADRException

If no root (parent-less) template can be found in the mapping.