48a15c54f6
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
306 B
Python
17 lines
306 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
database_url: str
|
|
secret_key: str
|
|
access_token_expire_minutes: int = 480
|
|
algorithm: str = "HS256"
|
|
admin_username: str
|
|
admin_password: str
|
|
|
|
class Config:
|
|
env_file = ".env"
|
|
|
|
|
|
settings = Settings()
|