]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Mention Properties keys in __dir__
authorKorn, Uwe <Uwe.Korn@blue-yonder.com>
Mon, 9 Jul 2018 15:54:38 +0000 (11:54 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 1 Aug 2018 16:30:57 +0000 (12:30 -0400)
commit85dd7668530612e2cf7de7f575d68fc7c683a988
tree9bf842cca475f656162da04838b8f6818d2f3366
parent1c32206120b1a6555f8bb7a20a0c4c53ea2f52a8
Mention Properties keys in __dir__

The Python builtin ``dir()`` is now supported for a SQLAlchemy "properties"
object, such as that of a Core columns collection (e.g. ``.c``),
``mapper.attrs``, etc.  Allows iPython autocompletion to work as well.
Pull request courtesy Uwe Korn.

Change-Id: I8696729542d1b74a566642a3a63fd500f64588cd
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/458

Mention Properties keys in __dir__

Change-Id: I88939955857c8df5eed0b87bc27c45357780b17d
doc/build/changelog/unreleased_13/dir_keys.rst [new file with mode: 0644]
lib/sqlalchemy/util/_collections.py
test/base/test_utils.py