From: Eugene Toder Date: Thu, 25 Jan 2024 22:19:44 +0000 (-0500) Subject: Fix typo in a docstring (#10925) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7cda85d81038cf390a15b93d5276754a8cc2514;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 --- diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 2706bbe0ee..17b3f81186 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -2994,7 +2994,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 817594e148..aabd4b961a 100644 --- a/lib/sqlalchemy/ext/asyncio/engine.py +++ b/lib/sqlalchemy/ext/asyncio/engine.py @@ -1168,7 +1168,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