示例#1
0
文件: api.py 项目: 5up3rD4n1/spreads
 def read_schedule(self, ts):
     return [
         registry.get_task_for_message(m) for m in self._read_schedule(ts)]
示例#2
0
文件: api.py 项目: swipswaps/spreads
 def read_schedule(self, ts):
     return [
         registry.get_task_for_message(m) for m in self._read_schedule(ts)
     ]
示例#3
0
文件: api.py 项目: 5up3rD4n1/spreads
 def dequeue(self):
     message = self._read()
     if message:
         return registry.get_task_for_message(message)
示例#4
0
文件: api.py 项目: swipswaps/spreads
 def dequeue(self):
     message = self._read()
     if message:
         return registry.get_task_for_message(message)