def partial_state(
      self,
      player_name: str,
  ) -> str:
    """Return a player-specific view of the component's state."""
    if player_name in self._partial_states:
      partial_state = self._partial_states[player_name]
      self._memory.add(partial_state)
      return partial_state
    else:
      return ''
Return a player-specific view of the component's state.
concordia/contrib/components/game_master/deprecated/daily_activities.py