From 8db0f383d8a661d50059f491914a70b5708a03cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Boschman?= Date: Wed, 22 May 2024 12:43:01 -0300 Subject: [PATCH] Remove empty attribute_values from DynamicMapAttribute (#999 ) --- pynamodb/attributes.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pynamodb/attributes.py b/pynamodb/attributes.py index 964b5ae6..d054a0fb 100644 --- a/pynamodb/attributes.py +++ b/pynamodb/attributes.py @@ -424,7 +424,6 @@ def _container_deserialize(self, attribute_values: Dict[str, Dict[str, Any]]) -> """ Sets attributes sent back from DynamoDB on this object """ - self.attribute_values = {} self._set_discriminator() self._set_defaults(_user_instantiated=False) for name, attr in self.get_attributes().items():