Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/fastapi/fastapi
/ User
Class
User
tests/test_security_oauth2.py:20–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
19
20
class
User(BaseModel):
21
username: str
22
23
24
# Here we use string annotations to test them
Callers
1
get_current_user
Function · 0.70
Calls
no outgoing calls
Tested by
1
get_current_user
Function · 0.56