mirror of
https://github.com/fastapi/fastapi.git
synced 2026-02-14 08:11:10 -05:00
11 lines
183 B
Python
11 lines
183 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
app_name: str = "Awesome API"
|
|
admin_email: str
|
|
items_per_user: int = 50
|
|
|
|
|
|
settings = Settings()
|