feat: add type safe Config model

This commit is contained in:
sebthom
2025-05-14 00:30:59 +02:00
committed by Sebastian Thomschke
parent e7a3d46d25
commit 1369da1c34
21 changed files with 1132 additions and 389 deletions

12
pdm.lock generated
View File

@@ -5,7 +5,7 @@
groups = ["default", "dev"]
strategy = ["inherit_metadata"]
lock_version = "4.5.0"
content_hash = "sha256:2ce8b5b77bbdaa380fbb3b50bc888b1f7c7c03fc4072cb7db379a787b2532d20"
content_hash = "sha256:4c861bebeac9e92661923a7e8d04a695c2185a5d0f85179fb858febd2503fdaf"
[[metadata.targets]]
requires_python = ">=3.10,<3.14"
@@ -25,7 +25,7 @@ name = "annotated-types"
version = "0.7.0"
requires_python = ">=3.8"
summary = "Reusable constraint types to use with typing.Annotated"
groups = ["dev"]
groups = ["default", "dev"]
dependencies = [
"typing-extensions>=4.0.0; python_version < \"3.9\"",
]
@@ -910,7 +910,7 @@ name = "pydantic"
version = "2.11.4"
requires_python = ">=3.9"
summary = "Data validation using Python type hints"
groups = ["dev"]
groups = ["default", "dev"]
dependencies = [
"annotated-types>=0.6.0",
"pydantic-core==2.33.2",
@@ -927,7 +927,7 @@ name = "pydantic-core"
version = "2.33.2"
requires_python = ">=3.9"
summary = "Core functionality for Pydantic validation and serialization"
groups = ["dev"]
groups = ["default", "dev"]
dependencies = [
"typing-extensions!=4.7.0,>=4.6.0",
]
@@ -1371,7 +1371,7 @@ name = "typing-extensions"
version = "4.13.2"
requires_python = ">=3.8"
summary = "Backported and Experimental Type Hints for Python 3.8+"
groups = ["dev"]
groups = ["default", "dev"]
files = [
{file = "typing_extensions-4.13.2-py3-none-any.whl", hash = "sha256:a439e7c04b49fec3e5d3e2beaa21755cadbbdc391694e28ccdd36ca4a1408f8c"},
{file = "typing_extensions-4.13.2.tar.gz", hash = "sha256:e6c81219bd689f51865d9e372991c540bda33a0379d5573cddb9a3a23f7caaef"},
@@ -1382,7 +1382,7 @@ name = "typing-inspection"
version = "0.4.0"
requires_python = ">=3.9"
summary = "Runtime typing introspection tools"
groups = ["dev"]
groups = ["default", "dev"]
dependencies = [
"typing-extensions>=4.12.0",
]