diff --git a/gitlab/base.py b/gitlab/base.py index bc27237f2..40bc06ce4 100644 --- a/gitlab/base.py +++ b/gitlab/base.py @@ -111,6 +111,9 @@ def __ne__(self, other): return self.get_id() != other.get_id() return super(RESTObject, self) != other + def __dir__(self): + return super(RESTObject, self).__dir__() + list(self.attributes) + def __hash__(self): if not self.get_id(): return super(RESTObject, self).__hash__()
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: