MCPcopy 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
33def _normalize_scope(scope: str | None) -> str:
34 return (scope or "").strip().lower()
35
36
37def _normalize_api_url(value: str | None) -> str:

Calls

no outgoing calls

Tested by

no test coverage detected