Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jgkim opened this issue Jun 24, 2014 · 0 comments

Comments

@jgkim
Copy link
Contributor

jgkim commented Jun 24, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant