marshmallow-code/marshmallow
Ver no GitHubType hinting for `load` is too strict
Open
#1.457 aberto em 12 de nov. de 2019
help wantedtyping
Métricas do repositório
- Stars
- (6.787 stars)
- Métricas de merge de PR
- (Mesclagem média 4h 13m) (6 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.