From: Eugene Toder Date: Thu, 25 Jan 2024 22:19:44 +0000 (-0500) Subject: Fix typo in a docstring (#10925) X-Git-Tag: rel_2_0_26~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e83f80d7154727fbc83e74993943c5e6b686661b;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix typo in a docstring (#10925) * Fix typo in a docstring It's "compiled_cache" not "query_cache". * Update async engine as well (cherry picked from commit e7cda85d81038cf390a15b93d5276754a8cc2514) --- diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index dcce3ed342..4a5fd15e34 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -2990,7 +2990,7 @@ class Engine( This applies **only** to the built-in cache that is established via the :paramref:`_engine.create_engine.query_cache_size` parameter. It will not impact any dictionary caches that were passed via the - :paramref:`.Connection.execution_options.query_cache` parameter. + :paramref:`.Connection.execution_options.compiled_cache` parameter. .. versionadded:: 1.4 diff --git a/lib/sqlalchemy/ext/asyncio/engine.py b/lib/sqlalchemy/ext/asyncio/engine.py index 02b70ecd58..b5c8c7d76f 100644 --- a/lib/sqlalchemy/ext/asyncio/engine.py +++ b/lib/sqlalchemy/ext/asyncio/engine.py @@ -1165,7 +1165,7 @@ class AsyncEngine(ProxyComparable[Engine], AsyncConnectable): This applies **only** to the built-in cache that is established via the :paramref:`_engine.create_engine.query_cache_size` parameter. It will not impact any dictionary caches that were passed via the - :paramref:`.Connection.execution_options.query_cache` parameter. + :paramref:`.Connection.execution_options.compiled_cache` parameter. .. versionadded:: 1.4