| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent efc6182 commit cad134c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -111,6 +111,9 @@ def __ne__(self, other): | |||
| 111 | 111 | return self.get_id() != other.get_id() | |
| 112 | 112 | return super(RESTObject, self) != other | |
| 113 | 113 | ||
| 114 | + def __dir__(self): | ||
| 115 | + return super(RESTObject, self).__dir__() + list(self.attributes) | ||
| 116 | + | ||
| 114 | 117 | def __hash__(self): | |
| 115 | 118 | if not self.get_id(): | |
| 116 | 119 | return super(RESTObject, self).__hash__() | |
| Back | FazBrowse Home | New Git URL |
0 commit comments