10 lines
175 B
Python
10 lines
175 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
class Settings(BaseSettings):
|
|
api_key: str
|
|
db_url: str
|
|
|
|
class Config:
|
|
env_file = ".env"
|
|
|
|
settings = Settings() |