def get_champions_by_id(ids):
    """
    Gets a bunch of champions by ID

    Args:
        ids (list<int>): the IDs of the champions to get

    Returns:
        list<Champion>: the requested champions
    """
    champions = {champ.id: champ for champ in get_champions()}
    results = []
    for id_ in ids:
        try:
            champ = champions[id_]
        except __HOLE__:
            champ = None
        results.append(champ)
    return results
dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/core/staticdataapi.py/get_champions_by_id