Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/fastapi/fastapi
/ __call__
Method
__call__
fastapi/security/api_key.py:318–320 ·
view source on GitHub ↗
(self, request: Request)
Source
from the content-addressed store, hash-verified
316
)
317
318
async
def
__call__(self, request: Request) -> str | None:
319
api_key = request.cookies.get(self.model.name)
320
return
self.check_api_key(api_key)
Callers
nothing calls this directly
Calls
2
check_api_key
Method · 0.80
get
Method · 0.45
Tested by
no test coverage detected