Skip to content

Commit

Permalink
FIX: make team optional
Browse files Browse the repository at this point in the history
Signed-off-by: Segelzwerg <25705862+Segelzwerg@users.noreply.github.com>
  • Loading branch information
Segelzwerg committed Jul 21, 2023
1 parent 3632b97 commit 74f627c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion whist_core/user/status.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Data wrapper of player stati.
"""
from typing import Optional

# Wrapper class
# pylint: disable=too-few-public-methods
Expand All @@ -12,4 +13,4 @@ class Status(BaseModel):
Player status a table.
"""
ready: bool = False
team: int = None
team: Optional[int] = None

0 comments on commit 74f627c

Please sign in to comment.