This library primarily provides the ImplicitDict base class which enables the inheriting class to implicitly be treated like a dict with entries corresponding to the fields of the inheriting class. Simple example:
classMyData(ImplicitDict):
foo: strbar: int=0baz: Optional[float]
data: MyData=ImplicitDict.parse({'foo': 'asdf', 'bar': 1}, MyData)
assertjson.dumps(data) =='{"foo": "asdf", "bar": 1}'See class documentation for ImplicitDict and test_normal_usage.py for more information.