MCPcopy Create free account
hub / github.com/Boris-code/feapder / get

Method get

feapder/db/memorydb.py:32–41  ·  view source on GitHub ↗

获取任务 :return:

(self)

Source from the content-addressed store, hash-verified

30 self.priority_queue.put(item)
31
32 def get(self):
33 """
34 获取任务
35 :return:
36 """
37 try:
38 item = self.priority_queue.get(timeout=1)
39 return item
40 except:
41 return
42
43 def empty(self):
44 return self.priority_queue.empty()

Callers 9

wapperFunction · 0.45
findMethod · 0.45
addMethod · 0.45
add_batchMethod · 0.45
get_conditionMethod · 0.45
update_batchMethod · 0.45
get_index_keyMethod · 0.45
strgetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected