diff --git a/whist_core/user/status.py b/whist_core/user/status.py index aa75a387..c9d275cd 100644 --- a/whist_core/user/status.py +++ b/whist_core/user/status.py @@ -1,6 +1,7 @@ """ Data wrapper of player stati. """ +from typing import Optional # Wrapper class # pylint: disable=too-few-public-methods @@ -12,4 +13,4 @@ class Status(BaseModel): Player status a table. """ ready: bool = False - team: int = None + team: Optional[int] = None