def compose_maps(m1,m2):
    res = m2.copy()
    res.update((x,m2.get(y,y)) for x,y in m1.iteritems())
    return res
Validate that the expression and resources passed match up.
dataset/ETHPy150Open Microsoft/ivy/src/ivy/ivy_utils.py/compose_maps--crossover with--dataset/ETHPy150Open quantopian/zipline/zipline/pipeline/loaders/blaze/core.py/_check_resources