示例#1
0
 def get_topic(self, topic_id):
     cats = self.discourse_client().topic('', topic_id)
     parse_timestamps(cats)
     return cats
示例#2
0
 def get_categories(self):
     cats = self.discourse_client().categories()
     parse_timestamps(cats)
     return cats