This commit is contained in:
jxxghp 2023-10-19 17:15:46 +08:00
parent a911bab7b0
commit e5718a50b2

View File

@ -13,7 +13,6 @@ class Base:
@db_update
def create(self, db: Session) -> Self:
db.add(self)
db.refresh(self)
return self
@classmethod