spb/firc0001_uqo
Public
1diff --git a/project-db/spid/store.py b/project-db/spid/store.py2index 9b2d7d1..5265333 1006443--- a/project-db/spid/store.py4+++ b/project-db/spid/store.py5@@ -186,7 +186,9 @@ class Store:6 sql += " ORDER BY filing_date"7 if limit:8 sql += f" LIMIT {int(limit)}"9- return self.con.execute(sql).fetch_arrow_table().to_pylist()10+ res = self.con.execute(sql)11+ table = res.to_arrow_table() if hasattr(res, "to_arrow_table") else res.fetch_arrow_table() # DuckDB >= 2.0 / < 2.012+ return table.to_pylist()13 14 # ---- write side ---------------------------------------------------15 def upsert_mentions(self, mentions: list[ProjectMention], ctx: dict) -> int:16