Skip to content

fix: remove dead fetchall() after INSERT and correct retrieve() error message - #377

Merged
D4Vinci merged 4 commits into
D4Vinci:devfrom
fix2015:fix/remove-unnecessary-fetchall
Jul 23, 2026
Merged

fix: remove dead fetchall() after INSERT and correct retrieve() error message#377
D4Vinci merged 4 commits into
D4Vinci:devfrom
fix2015:fix/remove-unnecessary-fetchall

Conversation

@fix2015

@fix2015 fix2015 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor
  • Remove unnecessary cursor.fetchall() call after INSERT OR REPLACE in storage.py (INSERT returns no rows)
  • Fix NotImplementedError message in retrieve() abstract method that incorrectly said 'implement save method'

D4Vinci and others added 3 commits July 15, 2026 18:21
cursor.fetchall() after an INSERT OR REPLACE statement is a no-op
since INSERT does not return any rows. This call is dead code.
@D4Vinci
D4Vinci changed the base branch from main to dev July 23, 2026 22:31
@D4Vinci
D4Vinci merged commit 2f40055 into D4Vinci:dev Jul 23, 2026
5 checks passed
@D4Vinci

D4Vinci commented Jul 23, 2026

Copy link
Copy Markdown
Owner

I don't know how we left that line there, but thanks!

@D4Vinci D4Vinci mentioned this pull request Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants