summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-10-30 14:42:10 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-10-30 14:47:04 -0400
commit9b774743952fa4f459a914604cc8395175eca07e (patch)
tree5d1149947b7ad097ca46a70445833571c49732a5 /lib/sqlalchemy/orm/base.py
parent77adce762b2a9ea19fcd72a28482faf63cef4844 (diff)
downloadsqlalchemy-9b774743952fa4f459a914604cc8395175eca07e.tar.gz
omit_join=True is not supported
The :paramref:`.relationship.omit_join` flag was not intended to be manually set to True, and will now emit a warning when this occurs. The omit_join optimization is detected automatically, and the ``omit_join`` flag was only intended to disable the optimization in the hypothetical case that the optimization may have interfered with correct results, which has not been observed with the modern version of this feature. Setting the flag to True when it is not automatically detected may cause the selectin load feature to not work correctly when a non-default primary join condition is in use. Fixes: #4954 Change-Id: I3afebefb13ddaf8f74c5c2b9e6e6a1a261ac5629
Diffstat (limited to 'lib/sqlalchemy/orm/base.py')
0 files changed, 0 insertions, 0 deletions