def get(self, state, name, raw=False):
        registry = self._get_registry(raw)

        try:
            transform = registry[state][name]
        except __HOLE__:
            err_msg = "Transform (%s) not registered for %s" % (name, state)
            raise KeyError(err_msg)
        return transform
dataset/ETHPy150Open openelections/openelections-core/openelex/base/transform.py/Registry.get