Coverage for qwail/main.py: 100%
7 statements
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-22 13:59 +0000
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-22 13:59 +0000
1from fastapi import FastAPI
3from qwail import DESCRIPTION, VERSION
4from qwail.core.config import settings
6app = FastAPI(
7 title=settings.PROJECT_NAME,
8 version=VERSION,
9 description=DESCRIPTION,
10 license_info={
11 "name": "MIT License",
12 "identifier": "MIT",
13 },
14)
17@app.get("/")
18async def main():
19 return {"message": "Hello Qwail!!"}