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

Function is_mapping_t

src/openai/_utils/_utils.py:194–195  ·  view source on GitHub ↗
(obj: _MappingT | object)

Source from the content-addressed store, hash-verified

192
193
194def is_mapping_t(obj: _MappingT | object) -> TypeGuard[_MappingT]:
195 return isinstance(obj, Mapping)
196
197
198def is_dict(obj: object) -> TypeGuard[dict[object, object]]:

Callers 5

to_httpx_filesFunction · 0.85
async_to_httpx_filesFunction · 0.85
__init__Method · 0.85
__init__Method · 0.85
get_required_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected