Skip to content

Commit 3ab1151

Browse files
author
Diego Argueta
committed
Add changelog entry
1 parent 0ebda01 commit 3ab1151

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

changelog.d/140.change.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
It is now possible to use type-variant generics in your dataclasses, such as ``Sequence`` or ``MutableSequence`` instead of ``List``, ``Mapping`` instead of ``Dict``, etc.
2+
3+
This doesn't change any behavior by Desert or Marshmallow. Rather, the primary benefit is getting more flexibility from type checkers. For example, by using ``Mapping`` or ``MutableMapping``, users can pass ``OrderedDict`` to an attribute without MyPy complaining.

0 commit comments

Comments
 (0)