fix(types): resolver diagnosticos estaticos de tipado y modelos v3.6.1
This commit is contained in:
+2
-1
@@ -2,11 +2,12 @@
|
||||
WSGI / ASGI compatibility bridge for Gunicorn and systemd.
|
||||
Exports FastAPI application adapted via a2wsgi.ASGIMiddleware for zero-downtime compatibility.
|
||||
"""
|
||||
from typing import Any, cast
|
||||
from main import app as fastapi_app
|
||||
from a2wsgi import ASGIMiddleware
|
||||
|
||||
# Adapt ASGI FastAPI app into WSGI callable for Gunicorn
|
||||
app = ASGIMiddleware(fastapi_app)
|
||||
app = ASGIMiddleware(cast(Any, fastapi_app))
|
||||
|
||||
if __name__ == '__main__':
|
||||
import uvicorn
|
||||
|
||||
Reference in New Issue
Block a user