Refactored db logic. Can now specify schema in config

This commit is contained in:
Jonas Linter
2025-11-04 09:20:02 +01:00
parent e7b789fcac
commit eb10e070b1
6 changed files with 107 additions and 15 deletions

View File

@@ -1,3 +1,5 @@
This python project is managed by uv. Use uv run to execute app and tests.
The Configuration is handled in a config.yaml file. The annotatedyaml library is used to load secrets. !secret SOME_SECRET in the yaml file refers to a secret definition in a secrets.yaml file
When adding something to the config make sure to also add it to the voluptuos schema in config. If the config changes and there is an easy way to migrate an old config file do so. If its an addition then don't.