Skip to content

Commit 66297ee

Browse files
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
1 parent d1ad4ce commit 66297ee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sqlmodel/main.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,11 @@ def sqlmodel_rebuild(cls) -> None:
602602

603603
# Override SQLAlchemy, allow both SQLAlchemy and plain Pydantic models
604604
def __do_init__(
605-
cls, classname: str, bases: Tuple[type, ...], dict_: Mapping[str, Any], **kw: Any
605+
cls,
606+
classname: str,
607+
bases: Tuple[type, ...],
608+
dict_: Mapping[str, Any],
609+
**kw: Any,
606610
) -> None:
607611
# Only one of the base classes (or the current one) should be a table model
608612
# this allows FastAPI cloning a SQLModel for the response_model without

0 commit comments

Comments
 (0)