Skip to content

Conversation

@cmanallen
Copy link
Contributor

No description provided.

field = getattr(self, field_name)
if not isinstance(field, Field):
continue
response[field_name] = copy(field.deserialize(data))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@morgan This is the relevant part that was causing the issue. Using copy prevents an accidental reference to the field class from being passed and updated.

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

Successfully merging this pull request may close these issues.

2 participants