genomoncology / related

Nested Object Models in Python with dictionary, YAML, and JSON transformation support
MIT License
198 stars 15 forks source link

Support the kw_only Argument in all fields #51

Open M0r13n opened 3 years ago

M0r13n commented 3 years ago

Hi,

Currently the kw_only Attribute is not supported. This attribute can be set to True when calling the attrib function. By doing so, it is possible to subclass a class with a default attribute with an class with mandatory attributes. This is currently not possible, as far as I can see?