Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
190
def
is_mapping(obj: object) -> TypeGuard[Mapping[str, object]]:
191
return
isinstance(obj, Mapping)
192
193
194
def
is_mapping_t(obj: _MappingT | object) -> TypeGuard[_MappingT]:
Callers
13
_deepcopy_with_paths
Function · 0.85
construct_type
Function · 0.85
_info_to_options
Method · 0.85
_build_request
Method · 0.85
_make_status_error
Method · 0.85
_make_status_error
Method · 0.85
__stream__
Method · 0.85
__stream__
Method · 0.85
strip_not_given
Function · 0.85
json_safe
Function · 0.85
_transform_recursive
Function · 0.85
_async_transform_recursive
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected