WS DTO assign rework

This commit is contained in:
Eden Kirin
2023-03-25 15:27:15 +01:00
parent 9aabcf61f4
commit 0f0fe68890
11 changed files with 79 additions and 30 deletions

View File

@ -21,6 +21,7 @@ class Player:
default_factory=lambda: datetime.datetime.now()
)
active: bool = True
can_be_deactivated: bool = True
def reset_timeout(self) -> None:
self.last_seen = datetime.datetime.now()