autoextract_poet.util.split_in_unknown_and_known_fields

split_in_unknown_and_known_fields(data: Optional[dict], item_cls: Type) Tuple[Dict, Dict][source]

Return a pair of dicts. The first one contains those elements not belonging to the attr class item_cls. The second one contains the rest. That is, those attributes not belonging to item_cls class