def getBaseObjects(self,scope=None): return Endpoint.findAll(scope=scope) + Creds.findAll(scope=scope) + User.findAll(scope=scope) + Host.findAll(scope=scope)
def getEndpoints(self,scope=None): endpoints = [] for endpoint in Endpoint.findAll(scope=scope): endpoints.append(endpoint) return endpoints