def get_topic(self, topic_id): cats = self.discourse_client().topic('', topic_id) parse_timestamps(cats) return cats
def get_categories(self): cats = self.discourse_client().categories() parse_timestamps(cats) return cats