Skip to content

Commit 65e390c

Browse files
committed
Fix "Unexpected argument" in constructor
1 parent 488c020 commit 65e390c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/sqlmodel_toolkit/model.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# model.pyi
2-
from typing import Any, List, Optional, Type
2+
3+
from typing import Any, Optional, Type
34
from sqlalchemy import Engine
5+
from sqlmodel import SQLModel
46
from sqlmodel_toolkit.query import Query, ModelT
57

6-
class Model:
8+
class Model(SQLModel):
79
_engine: Engine | None
810

911
@classmethod

0 commit comments

Comments
 (0)