Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Backend
/
FastAPI
Which declaration lets a client omit the query parameter q?
from FastAPI
FastAPI 0.141.1 / Python 3.14
beginner
1 min
Which declaration lets a client omit the query parameter q?
q: str | None = None
q: str | None
q: str = Query()
Check
Ask AI about this kata
Report an error
next kata
What does this program print?
Predict the output
A new version is available
Reload