Skip to content

Commit 0060965

Browse files
🎨 Auto format
1 parent 5a70588 commit 0060965

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

sqlmodel/sql/expression.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,13 @@ def within_group(
199199
def col(column_expression: _T) -> Mapped[_T]:
200200
if not isinstance(
201201
column_expression,
202-
(ColumnClause, Column, InstrumentedAttribute, QueryableAttribute, ColumnElement),
202+
(
203+
ColumnClause,
204+
Column,
205+
InstrumentedAttribute,
206+
QueryableAttribute,
207+
ColumnElement,
208+
),
203209
):
204210
raise RuntimeError(f"Not a SQLAlchemy column: {column_expression}")
205211
return column_expression # type: ignore

0 commit comments

Comments
 (0)