diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-08-27 15:50:47 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-08-27 15:53:01 -0400 |
commit | d78686b4f109fdc78ca6239e5a5af791717bc48d (patch) | |
tree | 3c06928cbf16b38b7c24ac3d6bc70c2c67186980 /lib/sqlalchemy/testing/assertions.py | |
parent | fe772672b4fc00df0b66aca92e2092779a844a2d (diff) | |
download | sqlalchemy-d78686b4f109fdc78ca6239e5a5af791717bc48d.tar.gz |
Raise NotImplemenedError for association proxy __clause_element__
It's not possible right now to use an association proxy element as a plain
column expression to be SELECTed from or used in a SQL function. An
informative error is now raised when this occurs.
Fixes: #5542
Change-Id: I334e767ebc0b56c1dccc4a1e5185b0435af77b93
Diffstat (limited to 'lib/sqlalchemy/testing/assertions.py')
0 files changed, 0 insertions, 0 deletions