MCPcopy 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
8def _get_client_key(client_id: str = Query(...)) -> str:
9 return f"{client_id}_key"
10
11
12def _get_client_tag(client_id: str | None = Query(None)) -> str | None:

Callers

nothing calls this directly

Calls 1

QueryClass · 0.90

Tested by

no test coverage detected