cattrs
cattrs copied to clipboard
Extra keys
Description
Is it possible to get the keys that were not used during a call to structure(input_dict, SomeClass)?
One way would be to use forbid_extra_keys to get the names of these extra keys, but then you would have to run structure a second time if you still want to use the structured data