Closed
Description
This is meant to protect developers from silly mistakes like typos:
class Foo(Structure):
a: int
_ignore_nnone = True
- Create a Typedpy global setting "block_unrecognized_settings".
- In the metaclass, if that flag is set, if we encounter an attribute without a type hint, and is not a method or a property, raise an exception.