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

Method put_item

feapder/buffer/item_buffer.py:119–124  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

117 self._started.clear()
118
119 def put_item(self, item):
120 if isinstance(item, Item):
121 # 入库前的回调
122 item.pre_to_db()
123
124 self._items_queue.put(item)
125
126 def flush(self):
127 try:

Callers 9

__add_taskMethod · 0.80
deal_requestMethod · 0.80
deal_requestMethod · 0.80
distribute_taskMethod · 0.80
distribute_taskMethod · 0.80
distribute_taskMethod · 0.80
_startMethod · 0.80
distribute_taskMethod · 0.80

Calls 2

pre_to_dbMethod · 0.80
putMethod · 0.80

Tested by

no test coverage detected