def __init__(self, mapping):
        subtemplates = {}
        for key, typ in mapping.items():
            subtemplates[key] = as_template(typ)
        self.subtemplates = subtemplates
If ``s`` is an instance of ``text_type``, return
dataset/ETHPy150Open beetbox/beets/beets/util/confit.py/MappingTemplate.__init__--crossover with--dataset/ETHPy150Open TurboGears/gearbox/gearbox/utils/copydir.py/native_