]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Warn that before_compile for lazyload needs bake_queries=False
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 25 Oct 2019 14:08:18 +0000 (10:08 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 25 Oct 2019 14:10:55 +0000 (10:10 -0400)
commit172d99a8a1282b534aeadafebdd2af0162758931
treec46c5719ce0d97ac5fed7a9b8a6a7e6135a06b3a
parent5bfb006ae5d38f9a2ec11f9c399f3a5c4bf16d7a
Warn that before_compile for lazyload needs bake_queries=False

The longer term future plan for ORM queries is that there
will be a new hook that receives queries before invocation
rather than "compilation", which will make use of a new
caching system.

Fixes: #4947
Change-Id: I256c16155a0cc9b7133e86e22d27040cb64eb1a9
lib/sqlalchemy/orm/events.py