def interpolate(string, mapping):
    try:
        return Template(string).substitute(mapping)
    except __HOLE__:
        raise InvalidInterpolation(string)
dataset/ETHPy150Open docker/compose/compose/config/interpolation.py/interpolate