labapi.util.extract.EtreeExtractorDict#

labapi.util.extract.EtreeExtractorDict: TypeAlias = 'Mapping[str, EtreeExtractorDict | Callable[[Any], Any]]'#

Type alias for a dictionary used to define the structure and extraction logic for lxml.etree.Element objects.

It can be nested, where keys represent XML element tags and values are either another EtreeExtractorDict for nested structures or a Callable to process the text content of the element.