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