Skip to content

v1.23

Compare
Choose a tag to compare
@Fatal1ty Fatal1ty released this 27 Jan 22:13
· 973 commits to master since this release

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}}))