From cd97bdba7c9e25dd6e1c6c977a5ae143cd6bc91a Mon Sep 17 00:00:00 2001 From: Yerassyl Zhanymkanov Date: Wed, 24 Aug 2022 12:54:24 +0600 Subject: [PATCH] Add description to BaseSettings --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 184aa9e..32789e5 100644 --- a/README.md +++ b/README.md @@ -514,7 +514,7 @@ Will generate docs like this: ![FastAPI Generated Custom Response Docs](images/custom_responses.png "Custom Response Docs") ### 10. Use Pydantic's BaseSettings for configs -They're decent enough. +Pydantic gives a [powerful tool](https://pydantic-docs.helpmanual.io/usage/settings/) to parse environment variables and process them with its validators. ```python from pydantic import AnyUrl, BaseSettings, PostgresDsn