summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/asyncio/result.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/ext/asyncio/result.py')
-rw-r--r--lib/sqlalchemy/ext/asyncio/result.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/sqlalchemy/ext/asyncio/result.py b/lib/sqlalchemy/ext/asyncio/result.py
index 43f5fae81..8f1c07fd8 100644
--- a/lib/sqlalchemy/ext/asyncio/result.py
+++ b/lib/sqlalchemy/ext/asyncio/result.py
@@ -442,8 +442,8 @@ class AsyncResult(AsyncCommon[Row[_TP]]):
return await greenlet_spawn(FrozenResult, self)
def merge(self, *others: AsyncResult[_TP]) -> MergedResult[_TP]:
- """Merge this :class:`_asyncio.AsyncResult` with other compatible result
- objects.
+ """Merge this :class:`_asyncio.AsyncResult` with other compatible
+ result objects.
The object returned is an instance of :class:`_engine.MergedResult`,
which will be composed of iterators from the given result
@@ -648,8 +648,8 @@ SelfAsyncMappingResult = TypeVar(
class AsyncMappingResult(AsyncCommon[RowMapping]):
- """A wrapper for a :class:`_asyncio.AsyncResult` that returns dictionary values
- rather than :class:`_engine.Row` values.
+ """A wrapper for a :class:`_asyncio.AsyncResult` that returns dictionary
+ values rather than :class:`_engine.Row` values.
The :class:`_asyncio.AsyncMappingResult` object is acquired by calling the
:meth:`_asyncio.AsyncResult.mappings` method.
@@ -974,7 +974,8 @@ class AsyncTupleResult(AsyncCommon[_R], util.TypingOnly):
...
async def scalar(self) -> Any:
- """Fetch the first column of the first row, and close the result set.
+ """Fetch the first column of the first row, and close the result
+ set.
Returns None if there are no rows to fetch.