Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDCAI/Paper2Any
/ _normalize_api_key
Function
_normalize_api_key
fastapi_app/services/managed_api_service.py:41–42 ·
view source on GitHub ↗
(value: str | None)
Source
from the content-addressed store, hash-verified
39
40
41
def
_normalize_api_key(value: str | None) -> str:
42
return
(value or
""
).strip()
43
44
45
def
_normalize_model_name(value: str | None) -> str:
Callers
5
_get_default_managed_llm_credentials
Function · 0.85
_get_default_managed_image_credentials
Function · 0.85
_get_scoped_managed_credentials
Function · 0.85
resolve_llm_credentials
Function · 0.85
resolve_image_generation_credentials
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected