

def applySolutionChain(solution, x):
    for sol in solution:
        if isinstance(sol, dict):
            x = x.find(**sol)
        else:
            x = sol(x)
    return x

dataset/ETHPy150Open kootenpv/sky/sky/legacy/scraper.py applySolutionChain/original