- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_invalid_simple_list (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_invalid_path_param.py
class Item(BaseModel): title: str @app.get("/items/{id}") def read_items(id: dict[str, Item]): pass # pragma: no cover def test_invalid_simple_list(): with pytest.raises(AssertionError): app = FastAPI() @app.get("/items/{id}") def read_items(id: list): pass # pragma: no coverCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.6K bytes - Click Count (0)