summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/result.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2022-07-31 11:56:07 +0200
committerFederico Caselli <cfederico87@gmail.com>2022-07-31 11:56:07 +0200
commitf8c4dba4e9f130c18ce00597c036bc26ae7abf90 (patch)
tree8c93965b1d9ba365522ca78435db027d73ed5e71 /lib/sqlalchemy/engine/result.py
parent14bfbadfdf9260a1c40f63b31641b27fe9de12a0 (diff)
downloadsqlalchemy-f8c4dba4e9f130c18ce00597c036bc26ae7abf90.tar.gz
Update to flake8 5.
Change-Id: I5a241a70efba68bcea9819ddce6aebc25703e68d
Diffstat (limited to 'lib/sqlalchemy/engine/result.py')
-rw-r--r--lib/sqlalchemy/engine/result.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sqlalchemy/engine/result.py b/lib/sqlalchemy/engine/result.py
index a4e373ec3..df5a8199c 100644
--- a/lib/sqlalchemy/engine/result.py
+++ b/lib/sqlalchemy/engine/result.py
@@ -1893,7 +1893,8 @@ class TupleResult(FilterResult[_R], util.TypingOnly):
...
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.
@@ -2219,7 +2220,8 @@ SelfChunkedIteratorResult = TypeVar(
class ChunkedIteratorResult(IteratorResult[_TP]):
- """An :class:`.IteratorResult` that works from an iterator-producing callable.
+ """An :class:`.IteratorResult` that works from an iterator-producing
+ callable.
The given ``chunks`` argument is a function that is given a number of rows
to return in each chunk, or ``None`` for all rows. The function should