summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab')
-rw-r--r--gitlab/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/base.py b/gitlab/base.py
index 5eb1118..53bf452 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -132,7 +132,7 @@ class RESTObject(object):
return super(RESTObject, self) != other
def __dir__(self):
- return super(RESTObject, self).__dir__() + list(self.attributes)
+ return super(RESTObject, self).__dir__() | self.attributes.keys()
def __hash__(self) -> int:
if not self.get_id():