marshmallow-code/marshmallow
Type hinting for `load` is too strict
Aberta
#1.457 aberto em 12 de nov. de 2019
help wantedtyping
Métricas do repositório
- Stars
- (6.787 estrelas)
- Métricas de merge de PR
- (Mesclagem média 10h 55m) (7 fundiu PRs em 30d)
Description
The type hinting for load's data argument is set to typing.Mapping which makes sense for the many=False case, but for many=True case the type of data is list, which isn't a Mapping type.