File size: 423 Bytes
d393923
28851bf
66a24a9
 
28851bf
 
 
d393923
28851bf
66a24a9
 
 
 
 
 
28851bf
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""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)