fix: tighten binder/app route annotations (FastAPI/ModuleType); sync binder.pyi with signature; refresh MCP docs

This commit is contained in:
2026-09-14 00:04:23 +05:30
parent 48fd6627a7
commit adeb02e162
6 changed files with 68 additions and 31 deletions

View File

@@ -1,5 +1,11 @@
from types import ModuleType
from typing import Any
from fastapi import FastAPI
def bind_routes(app: FastAPI, spec: dict[str, Any], routes_module: Any) -> None: ...
def bind_routes(
app: FastAPI,
spec: dict[str, Any],
routes_module: ModuleType,
security_deps: dict[str, list[Any]] | None = None,
) -> None: ...