Add config and client injection with test reorganization.

Introduce typed config objects, optional adapter injection, and .env loading to simplify testing while preserving env-based defaults for production usage.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Brian Bjarke Jensen
2026-07-06 20:44:08 +02:00
co-authored by Cursor
parent 366831ac52
commit 7991dabdbc
28 changed files with 645 additions and 377 deletions
Generated
+2
View File
@@ -1059,6 +1059,7 @@ name = "python-repositories"
version = "0.4.1"
source = { editable = "." }
dependencies = [
{ name = "python-dotenv" },
{ name = "python-utils" },
{ name = "structlog" },
]
@@ -1087,6 +1088,7 @@ dev = [
[package.metadata]
requires-dist = [
{ name = "minio", marker = "extra == 'minio'", specifier = ">=7.2.16" },
{ name = "python-dotenv", specifier = ">=1.0.0" },
{ name = "python-utils", specifier = ">=0.1.0", index = "https://gitea.lille-vemmelund.dk/api/packages/brian/pypi/simple/" },
{ name = "redis", marker = "extra == 'redis'", specifier = ">=6.4.0" },
{ name = "structlog", specifier = ">=25.4.0" },