From f8c4dba4e9f130c18ce00597c036bc26ae7abf90 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Sun, 31 Jul 2022 11:56:07 +0200 Subject: Update to flake8 5. Change-Id: I5a241a70efba68bcea9819ddce6aebc25703e68d --- lib/sqlalchemy/sql/selectable.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'lib/sqlalchemy/sql/selectable.py') diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index ce561697b..a6047bec1 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -1807,8 +1807,8 @@ class TableValuedAlias(LateralFromClause, Alias): return tva def lateral(self, name: Optional[str] = None) -> LateralFromClause: - """Return a new :class:`_sql.TableValuedAlias` with the lateral flag set, - so that it renders as LATERAL. + """Return a new :class:`_sql.TableValuedAlias` with the lateral flag + set, so that it renders as LATERAL. .. seealso:: @@ -5280,10 +5280,9 @@ class Select( *, full: bool = False, ) -> SelfSelect: - r"""Create a SQL LEFT OUTER JOIN against this :class:`_expression.Select` - object's criterion - and apply generatively, returning the newly resulting - :class:`_expression.Select`. + r"""Create a SQL LEFT OUTER JOIN against this + :class:`_expression.Select` object's criterion and apply generatively, + returning the newly resulting :class:`_expression.Select`. Usage is the same as that of :meth:`_selectable.Select.join_from`. @@ -6559,7 +6558,8 @@ class Exists(UnaryExpression[bool]): self: SelfExists, *fromclauses: Union[Literal[None, False], _FromClauseArgument], ) -> SelfExists: - """Apply correlation to the subquery noted by this :class:`_sql.Exists`. + """Apply correlation to the subquery noted by this + :class:`_sql.Exists`. .. seealso:: @@ -6576,7 +6576,8 @@ class Exists(UnaryExpression[bool]): self: SelfExists, *fromclauses: Union[Literal[None, False], _FromClauseArgument], ) -> SelfExists: - """Apply correlation to the subquery noted by this :class:`_sql.Exists`. + """Apply correlation to the subquery noted by this + :class:`_sql.Exists`. .. seealso:: -- cgit v1.2.1