def get_primary_service(self):
"""Get the *primary* service registered with the Application."""
# services = self.GetManagedObjects()
primary_uuid = None
for service in self.services:
if service.primary:
logger.debug(service.uuid)
primary_uuid = service.uuid
return primary_uuid
评论列表
文章目录