MCPcopy
hub / github.com/anthropics/anthropic-sdk-python / is_mapping

Function is_mapping

src/anthropic/_utils/_utils.py:186–187  ·  view source on GitHub ↗
(obj: object)

Source from the content-addressed store, hash-verified

184
185
186def is_mapping(obj: object) -> TypeGuard[Mapping[str, object]]:
187 return isinstance(obj, Mapping)
188
189
190def is_mapping_t(obj: _MappingT | object) -> TypeGuard[_MappingT]:

Callers 8

_deepcopy_with_pathsFunction · 0.85
construct_typeFunction · 0.85
_info_to_optionsMethod · 0.85
_build_requestMethod · 0.85
strip_not_givenFunction · 0.85
json_safeFunction · 0.85
_transform_recursiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected