Check if conn.commit() is required
@dr-rodriguez is already working on this.
Since Jul 22, 2025.
Assessment
This issue has not been assessed yet.
Description
We have several methods that load data into the database from the JSON files. Because we have been using SQLite a lot, we typically don't encounter issues. However, other databases may explicitly require us to use conn.commit() or similar to commit things like inserts or updates to the database. This is a newer requirement of SQLAlchemy 2.0. I think this is an un-caught bug in our codebase.
We should run some tests with a Postgres database to see if this is indeed the case and add them as part of the underlying methods.
- Dominant language
- Python
- Stars
- 12
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from astrodbtoolkit/AstrodbKit
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
astrodbtoolkit/AstrodbKit#110 ·
-
Nulls and load_table Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
astrodbtoolkit/AstrodbKit#109 ·
-
astrodbtoolkit/AstrodbKit#105 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
astrodbtoolkit/AstrodbKit#104 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
astrodbtoolkit/AstrodbKit#101 · 1 comment ·
All issues in astrodbtoolkit/AstrodbKit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·