Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ccrvlh/sqlalchemy_test
https://github.com/ccrvlh/sqlalchemy_test
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ccrvlh/sqlalchemy_test
- Owner: ccrvlh
- Created: 2022-08-27T13:57:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-27T15:42:16.000Z (about 2 years ago)
- Last Synced: 2023-08-08T18:10:08.324Z (about 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A simple test to try to replicate a situation in which ocasionally inserts are not persisted.
This will use Poetry (I'm running on Python 3.10.3)1. Setup venv `poetry shell`
2. Install deps `poetry install`
3. Run application `make run`
4. Drop / Create / Initialize data with `make all`When running for the very first time, everything should work.
But when running `make all` at any give moment with the application running, the `Accounts` table and related won't be filled.
If the application is restarted and then run `make all` again, it works.
Maybe there something wrong with the code itself, couldn't really find what may be wrong.
If (big if) the code is sane, then there might be an issue with cache management or maybe with async/await logic?