From 5897d2f2c7c2e489a94d1b380f268a367ec99548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Thu, 9 Nov 2023 12:16:42 +0100 Subject: [PATCH] ignore extra entries in .env file --- api/ovdashboard_api/core/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/ovdashboard_api/core/settings.py b/api/ovdashboard_api/core/settings.py index 477eb32..1cc17e8 100644 --- a/api/ovdashboard_api/core/settings.py +++ b/api/ovdashboard_api/core/settings.py @@ -82,6 +82,7 @@ class Settings(BaseSettings): """ model_config = SettingsConfigDict( + extra="ignore", env_file=".env", env_file_encoding="utf-8", env_nested_delimiter="__",