fix(types): resolver diagnosticos estaticos de tipado y modelos v3.6.1
This commit is contained in:
+2
-1
@@ -3,6 +3,7 @@ Admin Edu-Space - FastAPI Core Application (Principio 11)
|
||||
High-performance ASGI server with modular routers, Pydantic schemas,
|
||||
OpenAPI /docs documentation and zero-regression WSGI bridge.
|
||||
"""
|
||||
from typing import Any, cast
|
||||
from fastapi import FastAPI, Request, status
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
from fastapi.responses import JSONResponse
|
||||
@@ -51,7 +52,7 @@ app.include_router(genetic_router)
|
||||
|
||||
# Mount zero-regression WSGI bridge for remaining legacy routes and admin modules
|
||||
flask_app = get_flask_app()
|
||||
app.mount("/", WSGIMiddleware(flask_app))
|
||||
app.mount("/", cast(Any, WSGIMiddleware(cast(Any, flask_app.wsgi_app))))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user