diff options
Diffstat (limited to 'lib/sqlalchemy')
| -rw-r--r-- | lib/sqlalchemy/util/_collections.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/util/_collections.py b/lib/sqlalchemy/util/_collections.py index cc084a7c7..1d9383bc6 100644 --- a/lib/sqlalchemy/util/_collections.py +++ b/lib/sqlalchemy/util/_collections.py @@ -184,6 +184,9 @@ class Properties(object): def __iter__(self): return iter(list(self._data.values())) + def __dir__(self): + return dir(super(Properties, self)) + [str(k) for k in self._data.keys()] + def __add__(self, other): return list(self) + list(other) |
