Esempio n. 1
0
 def get_oauth_list(self, cluster_id, needs_columns=False):
     """ Returns a list of OAuth accounts existing on the given cluster.
     """
     with closing(self.session()) as session:
         return query.oauth_list(session, cluster_id, needs_columns)
Esempio n. 2
0
File: odb.py Progetto: bboerner/zato
 def get_oauth_list(self, cluster_id, needs_columns=False):
     """ Returns a list of OAuth accounts existing on the given cluster.
     """
     with closing(self.session()) as session:
         return query.oauth_list(session, cluster_id, needs_columns)
Esempio n. 3
0
File: odb.py Progetto: m0rcq/zato
 def get_oauth_list(self, cluster_id, needs_columns=False):
     """ Returns a list of OAuth accounts existing on the given cluster.
     """
     return oauth_list(self._session, cluster_id, needs_columns)
Esempio n. 4
0
 def get_data(self, session):
     return oauth_list(session, self.request.input.cluster_id, False)
Esempio n. 5
0
 def get_oauth_list(self, cluster_id, needs_columns=False):
     """ Returns a list of OAuth accounts existing on the given cluster.
     """
     return oauth_list(self._session, cluster_id, needs_columns)