Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Bulk loading doesn't work #394

Description

@maurges

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 for many before attempting to call dict methods here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions