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

Class FakeRows

tests/test_desktop_gui.py:212–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 )
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 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by 1

executeMethod · 0.68