Skip to content

BindingDict should support standard dict-functions #2135

Closed
@maennel

Description

@maennel

Standard dict functions should be supported by rest_framework.utils.serializer_helpers.BindingDict, like:

  • pop(<field_name>[, <default_value>])
  • get(<field_name>[, <default_value>])
  • len()

Perhaps, OrderedDict could be directly inherited from... I haven't looked at it in detail.

-Manuel

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions