def service(self, name):
        service_name = 'Service%s' % name.title()

        try:
            self._service = getattr(services, service_name)(self._proxy)
        except __HOLE__:
            raise AttributeError('Unrecognized service name %s' % service_name)
        
        return self
dataset/ETHPy150Open smsapi/smsapi-python-client/smsapi/client.py/SmsAPI.service