udapi.block.ud.fixmultisubjects module

Block ud.FixMultiSubjects will ensure that no node has more than one subject child (except those marked as :outer).

class udapi.block.ud.fixmultisubjects.FixMultiSubjects(zones='all', if_empty_tree='process', **kwargs)[source]

Bases: Block

Make sure there is at most one subject that is not marked as :outer.

process_node(node)[source]

Process a UD node