

def _get_leaderboard(self, key):
    try:
        return self.leaderboards[key]
    except KeyError:
        raise LeaderboardError(('No leaderboard with key %s' % key), 404)

dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/models/apiv1/leaderboards.py GameLeaderboards._get_leaderboard/original