fix bug
This commit is contained in:
parent
a911bab7b0
commit
e5718a50b2
@ -13,7 +13,6 @@ class Base:
|
|||||||
@db_update
|
@db_update
|
||||||
def create(self, db: Session) -> Self:
|
def create(self, db: Session) -> Self:
|
||||||
db.add(self)
|
db.add(self)
|
||||||
db.refresh(self)
|
|
||||||
return self
|
return self
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user