marshmallow-code/marshmallow
Auf GitHub ansehenType hinting for `load` is too strict
Open
#1.457 geöffnet am 12. Nov. 2019
help wantedtyping
Repository-Metriken
- Stars
- (6.787 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 4h 13m) (6 gemergte PRs in 30 T)
Beschreibung
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.