예제 #1
0
파일: main.py 프로젝트: 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)
예제 #2
0
파일: main.py 프로젝트: tek/proteome
 def switch(self):
     return try_convert_int(self.msg.index)\
         .map(__.select)\
         .flat_map(self._switch)