Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BerriAI/litellm
/ _as_mapping
Function
_as_mapping
scripts/check_openapi_docs.py:30–31 ·
view source on GitHub ↗
(node: object)
Source
from the content-addressed store, hash-verified
28
29
30
def
_as_mapping(node: object) -> Mapping[str, object]:
31
return
node
if
isinstance(node, Mapping)
else
{}
32
33
34
def
_content_schema(container: object) -> object:
Callers
4
_content_schema
Function · 0.70
_operation_codes
Function · 0.70
violations
Function · 0.70
proxy_spec
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected