(q: str = Query(min_length=3))
| 5 | |
| 6 | @app.get("/items/") |
| 7 | async def read_items(q: str = Query(min_length=3)): |
| 8 | results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} |
| 9 | if q: |
| 10 | results.update({"q": q}) |
| 11 | return results |
nothing calls this directly
no test coverage detected
searching dependent graphs…