Skip to content

Commit 2eecb02

Browse files
committed
fix db qualifier name
1 parent 90662a7 commit 2eecb02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qpydao/core/repository.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ def __new__(
1515
bases,
1616
attrs,
1717
base_type: SQLModel | BaseModel | Any = SQLModel,
18-
db_qualify="default",
18+
db_qualifier="default",
1919
**kwargs,
2020
):
2121
x = super().__new__(cls, name, bases, attrs, **kwargs)
2222
x.base_type = base_type
23-
x.db_qualifier = db_qualify
23+
x.db_qualifier = db_qualifier
2424
x.db_client = databases.get_db(x.db_qualifier)
2525
return x

0 commit comments

Comments
 (0)