v1.23
Changes
- Added support for MyEnum(str, Enum): #33
- Fixed using inner classes as field types:
@dataclass
class A(DataClassDictMixin):
@dataclass
class B(DataClassDictMixin):
b: int
a: int
b: B
print(A.from_dict({'a': 1, 'b': {'b': 2}}))