- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for test_stringified_annotation (1.99 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_stringified_annotation_dependency.py
Sebastián RamÃrez <******@****.***> 1766006759 -0800
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.2K bytes - Click Count (0) -
tests/test_stringified_annotations_simple.py
from fastapi.testclient import TestClient from .utils import needs_py310 class Dep: def __call__(self, request: Request): return "test" @needs_py310 def test_stringified_annotations(): app = FastAPI() client = TestClient(app) @app.get("/test/") def call(test: Annotated[str, Depends(Dep())]): return {"test": test} response = client.get("/test")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 545 bytes - Click Count (0)