Skip to content

Comments

Finish removing f-string queries from Heasarc#13

Merged
nkphysics merged 2 commits intomasterfrom
replace-final-fstrings-queries
Nov 16, 2025
Merged

Finish removing f-string queries from Heasarc#13
nkphysics merged 2 commits intomasterfrom
replace-final-fstrings-queries

Conversation

@nkphysics
Copy link
Owner

Created SQLiteDB._get_stashed_rows(), applied it to SQLiteDB.fetch_sync(), removed f-string queryies from heasarc query functions, and enhanced the testing.

This PR adds in SQLiteDB._get_stashed_rows() to aid in removing f-string queries from the Heasarc submodule.
To incorporate this SQLite.fetch_sync() was refactored.
Thus, the f-string queries in Heasarc() functions could be be removed to prevent sql injections.

…nc(), removed f-string queryies from heasarc query functions, and enhanced the testing
@nkphysics nkphysics self-assigned this Nov 16, 2025
@nkphysics nkphysics added bug Something isn't working Refactor Existing code that either can or needs to be changed/simplified. labels Nov 16, 2025
@nkphysics nkphysics merged commit f3125b5 into master Nov 16, 2025
4 checks passed
@nkphysics nkphysics deleted the replace-final-fstrings-queries branch November 16, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Refactor Existing code that either can or needs to be changed/simplified.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant