]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
amend verbiage for #7667's changelog message
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Feb 2022 20:46:41 +0000 (15:46 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Feb 2022 20:46:41 +0000 (15:46 -0500)
clarify this applies to async calling styles only.

Change-Id: I42286fe2651be13bd472fac981df9de276ed9bb1

doc/build/changelog/unreleased_14/7667.rst

index d66572feb0fb9d2727386886e49f24fc8f9e24bf..34dcd44b0ba8d89ed2dc8b278bd05d38b67c8f80 100644 (file)
@@ -5,11 +5,14 @@
     Fixed issue where the :meth:`_asyncio.AsyncSession.execute` method failed
     to raise an informative exception if the ``stream_results`` execution
     option were used, which is incompatible with a sync-style
-    :class:`_result.Result` object. An exception is now raised in this scenario
-    in the same way one is already raised when using ``stream_results`` in
-    conjunction with the :meth:`_asyncio.AsyncConnection.execute` method.
-    Additionally, for improved stability with state-sensitive dialects such as
-    asyncmy, the cursor is now closed when this error condition is raised;
-    previously with the asyncmy dialect, the connection would go into an
-    invalid state with unconsumed server side results remaining.
+    :class:`_result.Result` object when using an asyncio calling style, as the
+    operation to fetch more rows would need to be awaited. An exception is now
+    raised in this scenario in the same way one was already raised when the
+    ``stream_results`` option would be used with the
+    :meth:`_asyncio.AsyncConnection.execute` method.
+
+    Additionally, for improved stability with state-sensitive database drivers
+    such as asyncmy, the cursor is now closed when this error condition is
+    raised; previously with the asyncmy dialect, the connection would go into
+    an invalid state with unconsumed server side results remaining.