def __getattr__(self, name):
        # Do not use hasattr, it goes into infinite recurrsion
        if name in self.__dict__:
            # this object has it
            return getattr(self, name)
        # proxy to the wrapped object
        return getattr(self._wrapped_gateway, name)
Initialize the fixture.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/mysensors.py/GatewayWrapper.__getattr__--crossover with--dataset/ETHPy150Open openstack/oslo.i18n/oslo_i18n/fixture.py/Translation.__init__