]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix typo in a docstring (#10925)
authorEugene Toder <eltoder@users.noreply.github.com>
Thu, 25 Jan 2024 22:19:44 +0000 (17:19 -0500)
committerGitHub <noreply@github.com>
Thu, 25 Jan 2024 22:19:44 +0000 (23:19 +0100)
* Fix typo in a docstring

It's "compiled_cache" not "query_cache".

* Update async engine as well

lib/sqlalchemy/engine/base.py
lib/sqlalchemy/ext/asyncio/engine.py

index 2706bbe0ee7b2f7e4dff9c71578c72c9571181f9..17b3f81186cd7db0e7199b21d8bb639fb6661588 100644 (file)
@@ -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
 
index 817594e148bb1fd428cc7d0246249a801b225271..aabd4b961ad836903bab751870b39daf526bd2eb 100644 (file)
@@ -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