From 65929cd1f5356b967456ac1b4f78e929fe04d398 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Mon, 13 Jan 2025 14:20:21 +0100 Subject: [PATCH] Improve env_prefix config doc (#523) --- 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.