Skip to content

Commit 090a535

Browse files
committed
fix(base): really refresh object
This fixes and error, where deleted attributes would not show up Fixes #1155
1 parent 3a38c6d commit 090a535

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎gitlab/base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def _create_managers(self):
131131

132132
def _update_attrs(self, new_attrs):
133133
self.__dict__["_updated_attrs"] = {}
134-
self.__dict__["_attrs"].update(new_attrs)
134+
self.__dict__["_attrs"] = new_attrs
135135

136136
def get_id(self):
137137
"""Returns the id of the resource."""

0 commit comments

Comments
 (0)