You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
When you try to load items in bulk like this: data = UserSchema(many=True).load(input_data), you get an error: AttributeError: 'list' object has no attribute 'get'
This happens because the _do_load overload of the schema doesn't check for many before attempting to call dict methods here
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Cf. this stackoverflow question (not mine)
When you try to load items in bulk like this:
data = UserSchema(many=True).load(input_data)
, you get an error:AttributeError: 'list' object has no attribute 'get'
This happens because the
_do_load
overload of the schema doesn't check formany
before attempting to call dict methods hereThe text was updated successfully, but these errors were encountered: