From f59300e3dddbee7d0893680b8b4112d6cdc83ba0 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Mon, 13 Jan 2025 13:08:20 +0000 Subject: [PATCH] Improve env_prefix config doc --- docs/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index fd43babf..dd2214a6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -156,7 +156,8 @@ class Settings(BaseSettings): ``` !!! note - The default `env_prefix` is `''` (empty string). + The default `env_prefix` is `''` (empty string). `env_prefix` is not only for env settings but also for + dotenv files, secrets, and other sources. If you want to change the environment variable name for a single field, you can use an alias.