← back to Exo
Add Simple env.py
da50da2b43684806d20f525b56c7befc2bcc8681 · 2025-06-27 11:57:03 +0100 · Arbion Halili
Files touched
Diff
commit da50da2b43684806d20f525b56c7befc2bcc8681
Author: Arbion Halili <99731180+ToxicPine@users.noreply.github.com>
Date: Fri Jun 27 11:57:03 2025 +0100
Add Simple env.py
---
shared/env.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/shared/env.py b/shared/env.py
index f53de3e3..23e39704 100644
--- a/shared/env.py
+++ b/shared/env.py
@@ -10,10 +10,6 @@ EnvSchema = TypeVar("EnvSchema", bound=BaseModel)
def get_validated_env(
environment_schema: type[EnvSchema], logger: logging.Logger
) -> EnvSchema:
- """
- Validate and parse data into an instance of config_cls.
- Raises ValidationError if validation fails.
- """
try:
return environment_schema.model_validate(os.environ, strict=True)
except ValidationError as e:
← 3564d77e Add Sync to Runner
·
back to Exo
·
Add .gitignore 7f0f71b9 →