Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/fastapi/fastapi
/ read_items
Function
read_items
docs_src/query_params_str_validations/tutorial011_py310.py:7–9 ·
view source on GitHub ↗
(q: list[str] | None = Query(default=None))
Source
from the content-addressed store, hash-verified
5
6
@app.get(
"/items/"
)
7
async
def
read_items(q: list[str] | None = Query(default=None)):
8
query_items = {
"q"
: q}
9
return
query_items
Callers
nothing calls this directly
Calls
1
Query
Class · 0.90
Tested by
no test coverage detected