def __getattr__(self, name):
        """If attribute accessed is a call module, return a proxy."""
        if set(m.split('.')[0] for m in METHODS) in name:
            module_name = 'ubersmith.{0}'.format(name)
            module = __import__(module_name, fromlist=[''])
            proxy = _ProxyModule(self, module)
            # store proxy on handler so it doesn't have to be created again
            setattr(self, name, proxy)
            return proxy
        raise AttributeError("'{0}' object has no attribute '{1}'".format(
            type(self).__name__, name))
dataset/ETHPy150Open jasonkeene/python-ubersmith/ubersmith/api.py/RequestHandler.__getattr__/swapped operands of `in`