Skip to content

Commit

Permalink
Fix pytype error
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 588730108
Change-Id: I1bd662c95e9e02d2b7dec8140716c77af014c33f
  • Loading branch information
jagapiou authored and copybara-github committed Dec 7, 2023
1 parent 5918eea commit c8091ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/cyberball/components/ball_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def partial_state(
"""Return a player-specific view of the ball's state."""
return self._partial_states[player_name]

def update(self) -> str:
def update(self) -> None:
self._state = '\n'
self._partial_states = {name: '' for name in self._player_names}
per_player_prompt = {}
Expand Down Expand Up @@ -99,5 +99,3 @@ def update(self) -> str:
'per player prompts': per_player_prompt,
}
self._history.append(update_log)

return self._state

0 comments on commit c8091ae

Please sign in to comment.