Update config.py
Browse files
config.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import os
|
2 |
-
|
3 |
from pydantic import BaseSettings, Field
|
4 |
-
|
5 |
|
6 |
class Settings(BaseSettings):
|
7 |
db_url: str = Field(..., env='DATABASE_URL')
|
|
|
1 |
import os
|
|
|
2 |
from pydantic import BaseSettings, Field
|
3 |
+
from pydantic-settings import BaseSettings, Field
|
4 |
|
5 |
class Settings(BaseSettings):
|
6 |
db_url: str = Field(..., env='DATABASE_URL')
|