summaryrefslogtreecommitdiff
path: root/gitlab/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/base.py')
-rw-r--r--gitlab/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/base.py b/gitlab/base.py
index 7b4e3f8..8f4e49b 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -133,7 +133,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():