Philipp Buluschek
Philipp Buluschek
After generating a new project from the template, running `tox` shows the warning below. Should the template be adapted? ``` check run-test: commands[0] | python setup.py check --strict --metadata --restructuredtext...
…(notably in allOf), as this was breaking GWT)
You can add a generic serializer which works for all Enums like so ``` @JSONSerializer.register_serializer(Enum) def Enum_serializer(obj: Enum) -> str: return obj.name @JSONSerializer.register_deserializer(Enum) def Enum_deserializer(cls, name: str) -> Enum: try:...
I receive JSON with a datetime field called `from`. As `from` is a keyword in Python, I cannot create a dataclass with a `from` field. So deserialization is not possible....
In Python 3.7, type enforcing creates an error with the example code below. Given that this is valid Python, I would expect that this runs (even if the inner `str`...