Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDCAI/Paper2Any
/ _normalize_scope
Function
_normalize_scope
fastapi_app/services/managed_api_service.py:33–34 ·
view source on GitHub ↗
(scope: str | None)
Source
from the content-addressed store, hash-verified
31
32
33
def
_normalize_scope(scope: str | None) -> str:
34
return
(scope or
""
).strip().lower()
35
36
37
def
_normalize_api_url(value: str | None) -> str:
Callers
3
_get_scoped_managed_credentials
Function · 0.85
get_managed_llm_credentials
Function · 0.85
get_managed_image_credentials
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected