(
*, item_id: int = Path(title="The ID of the item to get", ge=1), q: str
)
| 5 | |
| 6 | @app.get("/items/{item_id}") |
| 7 | async def read_items( |
| 8 | *, item_id: int = Path(title="The ID of the item to get", ge=1), q: str |
| 9 | ): |
| 10 | results = {"item_id": item_id} |
| 11 | if q: |
| 12 | results.update({"q": q}) |
| 13 | return results |
nothing calls this directly
no test coverage detected
searching dependent graphs…