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

Class EmptyConnection

tests/test_desktop_gui.py:1618–1629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1616 }
1617 ],
1618 )
1619 monkeypatch.setattr(agents.daily_agent, "openreview_fetch_by_date", lambda **_kwargs: [])
1620 monkeypatch.setattr(agents.daily_agent, "journal_fetch_recent", lambda **_kwargs: [])
1621 monkeypatch.setattr(agents.daily_agent, "prepare_paper_features", lambda papers: papers)
1622
1623 class EmptyRows:
1624 def fetchall(self):
1625 return []
1626
1627 class EmptyConnection:
1628 def cursor(self):
1629 return self
1630
1631 def execute(self, *_args, **_kwargs):
1632 return EmptyRows()

Calls

no outgoing calls