You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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