def query_topic_list(self): _log.debug("Querying topic list") cursor = self.get_connection().cursor() sql = select_all_topics_query(self._schema, self._topic_table) cursor.execute(sql) results = [x[0] for x in cursor.fetchall()] return results
def query_topic_list(self): _log.debug("Querying topic list") cursor = self.get_connection().cursor() sql = select_all_topics_query(self._schema) cursor.execute(sql) results = [self.get_renamed_topic(x[0]) for x in cursor.fetchall()] return results