Skip to content

The unbound function in the lambda function being taken from the surrounding scope #55

@jgkim

Description

@jgkim

The variable unbound_func in the lambda function of attach_to_data_model method of DataModelSerializers class takes the value from the surrounding scope. This makes every overwritten serializer bound to the last value of unbound_func.

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