marshmallow-code/marshmallow

Type hinting for `load` is too strict

開放

#1,457 建立於 2019年11月12日

 (12 則留言) (0 個反應) (0 位負責人)Python (640 個分叉)batch import
help wantedtyping

倉庫指標

星標
 (6,787 顆星)
PR 合併指標
 (平均合併 10小時 55分鐘) (30 天內合併 7 個 PR)

描述

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.

貢獻者指南