vermouth.processors.stash_attributes module¶
Provides a processor that stores attributes
- class vermouth.processors.stash_attributes.StashAttributes(attributes=(), stash_name='stash')[source]¶
Bases:
ProcessorProcessor for storing current attributes of a node in a new “stash” attribute
- attributes: tuple[str]
Attributes to be stashed for later use.
- stash_name: str
Name of top level node dictionary in which to store existing attributes