User.delete return value

This commit is contained in:
Jörn-Michael Miehe 2022-03-28 20:18:00 +00:00
parent a5783a0c40
commit 77b40cb836

View file

@ -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.
""" """