Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fastapi/fastapi
/ _get_client_key
Function
_get_client_key
tests/test_enforce_once_required_parameter.py:8–9 ·
view source on GitHub ↗
(client_id: str = Query(...))
Source
from the content-addressed store, hash-verified
6
7
8
def
_get_client_key(client_id: str = Query(...)) -> str:
9
return
f
"{client_id}_key"
10
11
12
def
_get_client_tag(client_id: str | None = Query(None)) -> str | None:
Callers
nothing calls this directly
Calls
1
Query
Class · 0.90
Tested by
no test coverage detected