marshmallow-code/marshmallow

Type hinting for `load` is too strict

Offen

#1.457 geöffnet am 12.11.2019

 (12 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (640 Forks)batch import
help wantedtyping

Repository-Metriken

Stars
 (6.787 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 10h 55m) (7 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.

Contributor Guide