b5a62ee9a3
- domain: User, Workspace, Project, AssetLibrary, Asset, IngestJob - ports: repository interfaces - application: use cases - adapters: in-memory - API: FastAPI 5 routes - worker: Celery ingest_asset - tests: 4 passing
12 lines
226 B
Python
12 lines
226 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class AppSettings(BaseModel):
|
|
app_name: str = "xiaoxia-saas-api"
|
|
app_env: str = "development"
|
|
api_prefix: str = "/api"
|
|
|
|
|
|
def get_settings() -> AppSettings:
|
|
return AppSettings()
|