Eric Botti
commited on
Commit
·
40fe597
1
Parent(s):
09ee734
exclude observer from logging
Browse files- src/game.py +1 -1
src/game.py
CHANGED
@@ -16,7 +16,7 @@ class Game(BaseModel):
|
|
16 |
|
17 |
players: List[Player] = Field(exclude=True)
|
18 |
"""The players in the game."""
|
19 |
-
observer: Optional[Player]
|
20 |
"""An observer who can see all public messages, but doesn't actually play."""
|
21 |
game_id: str
|
22 |
"""The unique id of the game."""
|
|
|
16 |
|
17 |
players: List[Player] = Field(exclude=True)
|
18 |
"""The players in the game."""
|
19 |
+
observer: Optional[Player] = Field(exclude=True)
|
20 |
"""An observer who can see all public messages, but doesn't actually play."""
|
21 |
game_id: str
|
22 |
"""The unique id of the game."""
|