- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for get_model_c (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_filter_pydantic_sub_model_pv2.py
raise ValueError("name must end in A") return name async def get_model_c() -> ModelC: return ModelC(username="test-user", password="test-password") @app.get("/model/{name}", response_model=ModelA) async def get_model_a(name: str, model_c=Depends(get_model_c)): return { "name": name, "description": "model-a-desc", "foo": model_c,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.7K bytes - Click Count (0)