diff --git a/couchdbkit/schema/base.py b/couchdbkit/schema/base.py index fbac71b..8a32c2f 100644 --- a/couchdbkit/schema/base.py +++ b/couchdbkit/schema/base.py @@ -310,7 +310,7 @@ def __getstate__(self): def wrap(cls, data): """ wrap `data` dict in object properties """ instance = cls() - instance._doc = data + instance._doc = data.copy() for prop in instance._properties.values(): if prop.name in data: value = data[prop.name]