diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-07-23 09:24:32 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-07-23 09:24:32 -0400 |
commit | 8f5b65f4316e21d19b00266cdd9eded3d4ec51b2 (patch) | |
tree | 02797202119399cf14eec1fcc2ecb6e2c551f7b3 /lib/sqlalchemy/sql/compiler.py | |
parent | 629ab1d9b8b86a2695e55543f4064df6e5775844 (diff) | |
download | sqlalchemy-8f5b65f4316e21d19b00266cdd9eded3d4ec51b2.tar.gz |
Don't assume m2o key is present in the dictionary
Fixed regression caused by new selectinload for many-to-one logic where
a primaryjoin condition not based on real foreign keys would cause
KeyError if a related object did not exist for a given key value on the
parent object.
Fixes: #4777
Change-Id: I4ba96318302be68abe0e8c3611684087a04a2322
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions