diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-12-27 12:39:15 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-12-27 12:39:15 -0500 |
commit | ec5c9ebe6e7b8822de0c7bd19aea11ea2a582e29 (patch) | |
tree | 30e11b50d9658d24b5e9dce8b12dce72a5cb7c5d /lib/sqlalchemy/orm/attributes.py | |
parent | eae62d00049a24c028ba95e13b5199cfa59a1180 (diff) | |
download | sqlalchemy-ec5c9ebe6e7b8822de0c7bd19aea11ea2a582e29.tar.gz |
Implement SynonymProperty.get_history()
Implemented the ``.get_history()`` method, which also implies availability
of :attr:`.AttributeState.history`, for :func:`.synonym` attributes.
Previously, trying to access attribute history via a synonym would raise an
``AttributeError``.
Fixes: #3777
Change-Id: I20810a8b1a1bf630dbcb6622193c13cf4236b94a
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
0 files changed, 0 insertions, 0 deletions