def get_namespace_list(self, cluster_id, needs_columns=False): """ Returns a list of XML namespaces. """ with closing(self.session()) as session: return query.namespace_list(session, cluster_id, needs_columns)
def get_data(self, session): return namespace_list(session, self.request.input.cluster_id, False)
def get_namespace_list(self, cluster_id, needs_columns=False): """ Returns a list of XML namespaces. """ return namespace_list(self._session, cluster_id, needs_columns)