addons14/base_rest/controllers/main.py
def service_component(self, service_name):
        """
        Return the component that implements the methods of the requested
        service.
        :param service_name:
        :return: an instance of base.rest.service component
        """
        with self.work_on_component() as work:
            service = work.component(usage=service_name)
            yield service

        Return the component that implements the methods of the requested
        service.
        :param service_name:
        :return: an instance of base.rest.service component
        
Return the component that implements the methods of the requested
service.
Return the component that implements the methods of the requested service .
def service_component(self, service_name):
        with self.work_on_component() as work:
            service = work.component(usage=service_name)
            yield service
def service_component ( self , service_name ) : with self . work_on_component ( ) as work : service = work . component ( usage = service_name ) yield service
Return the component that implements the methods of the requested
service.
Return the component that implements the methods of the requested service .
"""
        Return the component that implements the methods of the requested
        service.
        :param service_name:
        :return: an instance of base.rest.service component
        """
an instance of base.rest.service component
an instance of base . rest . service component
self
service_name
None