MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / fetchall

Method fetchall

tests/test_desktop_gui.py:213–231  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

211
212 class FakeRows:
213 def fetchall(self):
214 return [
215 {
216 "src_id": "paper:1",
217 "dst_id": "topic:rag",
218 "relation": "same_topic",
219 "weight": 0.9,
220 "metadata_json": '{"reason": "keyword"}',
221 "created_at": "2026-06-01",
222 },
223 {
224 "src_id": "user:user_test",
225 "dst_id": "paper:1",
226 "relation": "interested_in",
227 "weight": 1.0,
228 "metadata_json": "{}",
229 "created_at": "2026-06-01",
230 },
231 ]
232
233 class FakeConnection:
234 def execute(self, *_args, **_kwargs):

Callers 15

mainFunction · 0.45
_load_profilesFunction · 0.45
get_all_papersFunction · 0.45
get_papers_by_dateFunction · 0.45
get_papers_up_to_dateFunction · 0.45
get_all_usersFunction · 0.45
load_profilesFunction · 0.45
show_tablesFunction · 0.45
show_table_schemaFunction · 0.45
show_table_dataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected