hbp_service_client/request/request_builder.py
def to_service(self, service, version):
        '''Sets the service name and version the request should target

        Args:
            service (str): The name of the service as displayed in the services.json file
            version (str): The version of the service as displayed in the services.json file

        Returns:
            The request builder instance in order to chain calls
        '''
        service_url = self._service_locator.get_service_url(service, version)
        return self.__copy_and_set('service_url', self.__strip_trailing_slashes(service_url))
def to_service(self, service, version):
        '''Sets the service name and version the request should target

        Args:
            service (str): The name of the service as displayed in the services.json file
            version (str): The version of the service as displayed in the services.json file

        Returns:
            The request builder instance in order to chain calls
        '''
        service_url = self._service_locator.get_service_url(service, version)
        return self.__copy_and_set('service_url', self.__strip_trailing_slashes(service_url))
def to_service ( self , service , version ) : service_url = self . _service_locator . get_service_url ( service , version ) return self . __copy_and_set ( 'service_url' , self . __strip_trailing_slashes ( service_url ) )
Sets the service name and version the request should target

        Args:
            service (str): The name of the service as displayed in the services.json file
            version (str): The version of the service as displayed in the services.json file

        Returns:
            The request builder instance in order to chain calls
Sets the service name and version the request should target