User.delete return value
This commit is contained in:
parent
a5783a0c40
commit
77b40cb836
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class User(UserBase, table=True):
|
||||||
db.commit()
|
db.commit()
|
||||||
db.refresh(self)
|
db.refresh(self)
|
||||||
|
|
||||||
def delete(self) -> bool:
|
def delete(self) -> None:
|
||||||
"""
|
"""
|
||||||
Delete this user from the database.
|
Delete this user from the database.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue