Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/fastapi/fastapi
/ read_explicit_query
Function
read_explicit_query
tests/test_required_noneable.py:13–14 ·
view source on GitHub ↗
(q: str | None = Query())
Source
from the content-addressed store, hash-verified
11
12
@app.get(
"/explicit-query"
)
13
def
read_explicit_query(q: str | None = Query()):
14
return
q
15
16
17
@app.post(
"/body-embed"
)
Callers
nothing calls this directly
Calls
1
Query
Class · 0.90
Tested by
no test coverage detected