SwissDataScienceCenter / calamus

A JSON-LD Serialization Libary for Python
Apache License 2.0
29 stars 12 forks source link

Model's constructor keyword arguments not detected #38

Closed m-alisafaee closed 4 years ago

m-alisafaee commented 4 years ago

When deserializing/instantiating a model's that its constructor has a keyword argument list (**kwargs), keyword arguments are not detected and an error is raised:

ValueError: The following fields were not found on class <class 'tests.test_deserialization.test_simple_deserialization.<locals>.Book'>:
               isbn