Exemplo n.º 1
0
Arquivo: main.py Projeto: tek/proteome
 def _pick_commit(self):
     index = try_convert_int(self.msg.index)
     lifter = self._current_repo_ro / _.history_info / _.lift
     return index.ap(lifter).join.product(self.current)
Exemplo n.º 2
0
Arquivo: main.py Projeto: tek/proteome
 def switch(self):
     return try_convert_int(self.msg.index)\
         .map(__.select)\
         .flat_map(self._switch)