MCPcopy
hub / github.com/openai/openai-python / is_mapping

Function is_mapping

src/openai/_utils/_utils.py:190–191  ·  src/openai/_utils/_utils.py::is_mapping
(obj: object)

Source from the content-addressed store, hash-verified

188
189
190def is_mapping(obj: object) -> TypeGuard[Mapping[str, object]]:
191 return isinstance(obj, Mapping)
192
193
194def is_mapping_t(obj: _MappingT | object) -> TypeGuard[_MappingT]:

Callers 13

_deepcopy_with_pathsFunction · 0.85
construct_typeFunction · 0.85
_info_to_optionsMethod · 0.85
_build_requestMethod · 0.85
_make_status_errorMethod · 0.85
_make_status_errorMethod · 0.85
__stream__Method · 0.85
__stream__Method · 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