- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for get_with_dep (0.08 seconds)
-
tests/test_dependency_pep695.py
DependedValue = TypeAliasType( "DependedValue", Annotated[int, Depends(some_value)], type_params=() ) def test_pep695_type_dependencies(): app = FastAPI() @app.get("/") async def get_with_dep(value: DependedValue) -> str: # noqa return f"value: {value}" client = TestClient(app) response = client.get("/") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:34:34 GMT 2026 - 628 bytes - Click Count (0)