def __getattr__(self, name):
        if name == "env":
             raise AttributeError
        if name not in self.env:
            host, prefix = self._parse_name(name)
            self.env[name] = Resource()
            self.env[name].config.host = host
            self.env[name].config.prefix = prefix
        return self.env[name]
dataset/ETHPy150Open PressLabs/zipa/zipa/magic.py/SelfWrapper.__getattr__/original