Add sql lite session (#71)

I added an sql lite session generator.

Changes
The function `def get_session() -> Session` 
has changed to 
`def get_session(connect_to: ConfigProvider | str) -> Session`
If a JsonFileConfig Is given the postgress conection is checked.
If a string is given that starts with `sqlite:///` an sql db is created.
The use should otherwise be the same.
This commit is contained in:
2023-09-07 18:41:10 +02:00
committed by GitHub
parent d04255a7a8
commit 2233b12468
12 changed files with 183 additions and 97 deletions

View File

@ -61,6 +61,10 @@ repos:
- pandas-stubs==2.0.*
- types-requests
- sqlalchemy[mypy]==1.4.49
- types-tqdm
- types-setuptools
- types-requests
- types-pyOpenSSL
- repo: https://github.com/frnmst/md-toc
rev: 8.2.0