Add description to BaseSettings
This commit is contained in:
@@ -514,7 +514,7 @@ Will generate docs like this:
|
|||||||

|

|
||||||
|
|
||||||
### 10. Use Pydantic's BaseSettings for configs
|
### 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
|
```python
|
||||||
from pydantic import AnyUrl, BaseSettings, PostgresDsn
|
from pydantic import AnyUrl, BaseSettings, PostgresDsn
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user