def getServices(self):
        """ get all services for this Sample """
        tool = getToolByName(self, REFERENCE_CATALOG)
        services = []
        for spec in self.getReferenceResults():
            service = tool.lookupObject(spec['uid'])
            services.append(service)
        return services
def getServices ( self ) : tool = getToolByName ( self , REFERENCE_CATALOG ) services = [ ] for spec in self . getReferenceResults ( ) : service = tool . lookupObject ( spec [ 'uid' ] ) services . append ( service ) return services
get all services for this Sample