def __getattr__(self, mod):
        class __wrapper__(object):
            def __getattr__(wself, func):  # pylint: disable=E0213
                try:
                    return self._salt['{0}.{1}'.format(mod, func)]
                except __HOLE__:
                    raise AttributeError
        return __wrapper__()
dataset/ETHPy150Open saltstack/salt/salt/utils/pyobjects.py/SaltObject.__getattr__