| """Asset Extractor API — FastAPI application.""" | |
| import logging | |
| from fastapi import FastAPI | |
| from app.config import APP_NAME, APP_VERSION | |
| from app.routers import assets | |
| logging.basicConfig( | |
| level=logging.INFO, | |
| format="%(asctime)s %(levelname)s %(name)s: %(message)s", | |
| ) | |
| logging.getLogger("httpx").setLevel(logging.WARNING) | |
| app = FastAPI(title=APP_NAME, version=APP_VERSION) | |
| app.include_router(assets.router) | |