Ejemplo n.º 1
0
 def prev_in_sequence(self, sequence_name):
     sequence = Wiki().sequences_for_article_url(
         self.url).get(sequence_name)
     return sequence['prev'] if sequence else None
Ejemplo n.º 2
0
 def get_sequence_names(self):
     """Returns the names of the sequences"""
     return Wiki().sequences_for_article_url(self.url).keys()