Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_task
Method · 0.80
deal_request
Method · 0.80
deal_request
Method · 0.80
reput_failed_items_to_db
Method · 0.80
distribute_task
Method · 0.80
distribute_task
Method · 0.80
distribute_task
Method · 0.80
_start
Method · 0.80
distribute_task
Method · 0.80
Calls
2
pre_to_db
Method · 0.80
put
Method · 0.80
Tested by
no test coverage detected