def add(self, keys, handler):

        _, mapping = self._contents
        for key in keys[:-1]:
            _, mapping = mapping.setdefault(key, (None, {}))
        mapping[keys[-1]] = handler, {}
Add a handler for the given keys.
dataset/ETHPy150Open Julian/PyVi/pyvi/mode.py/_Map.add