def map(self, key, func, *args, **kwargs):
        self._map.append((key, partial(func, *args, **kwargs)))
Creates a key-function mapping.
dataset/ETHPy150Open chrippa/livestreamer/src/livestreamer/plugin/api/mapper.py/StreamMapper.map