From fd4db80d54c6af9746c5ca9ec754a58696296b8b Mon Sep 17 00:00:00 2001 From: openclaw Date: Sat, 11 Apr 2026 03:58:19 +0000 Subject: [PATCH] Add app/config.py --- app/config.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/config.py diff --git a/app/config.py b/app/config.py new file mode 100644 index 0000000..a4dd091 --- /dev/null +++ b/app/config.py @@ -0,0 +1,13 @@ +from pydantic_settings import BaseSettings + + +class Settings(BaseSettings): + DATABASE_URL: str = "postgresql://user:pass@localhost:5432/inventario" + DEBUG: bool = False + API_VERSION: str = "v1" + + class Config: + env_file = ".env" + + +settings = Settings()