Fix Pydantic BaseSettings url
This commit is contained in:
@@ -511,7 +511,7 @@ Will generate docs like this:
|
|||||||

|

|
||||||
|
|
||||||
### 10. Use Pydantic's BaseSettings for configs
|
### 10. Use Pydantic's BaseSettings for configs
|
||||||
Pydantic gives a [powerful tool](https://pydantic-docs.helpmanual.io/usage/settings/) to parse environment variables and process them with its validators.
|
Pydantic gives a [powerful tool](https://docs.pydantic.dev/latest/concepts/pydantic_settings/) to parse environment variables and process them with its validators.
|
||||||
```python
|
```python
|
||||||
from pydantic import AnyUrl, PostgresDsn
|
from pydantic import AnyUrl, PostgresDsn
|
||||||
from pydantic_settings import BaseSettings # pydantic v2
|
from pydantic_settings import BaseSettings # pydantic v2
|
||||||
|
|||||||
Reference in New Issue
Block a user