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