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