astrodbtoolkit / astrodbtoolkit/AstrodbKit
Check if conn.commit() is required
Offen
#103
0 Kommentare
0 Reaktionen
1 zugewiesene Person
Beansprucht von @dr-rodriguez
Auf GitHub ansehen
bug
- Vorherrschende Sprache
- Python
- Sterne
- 12
- Forks
- 5
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.