def get_champions_by_name(names):
    """
    Gets a bunch of champions by name

    Args:
        names (list<str>): the names of the champions to get

    Returns:
        list<Champion>: the requested champions
    """
    indices = {names[i]: i for i in range(len(names))}

    champions = get_champions()
    results = [None for _ in range(len(names))]
    for champion in champions:
        try:
            index = indices[champion.name]
            results[index] = champion
        except __HOLE__:
            pass

    return results
dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/core/staticdataapi.py/get_champions_by_name