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

Function is_dict

src/openai/_utils/_utils.py:198–199  ·  view source on GitHub ↗
(obj: object)

Source from the content-addressed store, hash-verified

196
197
198def is_dict(obj: object) -> TypeGuard[dict[object, object]]:
199 return isinstance(obj, dict)
200
201
202def is_list(obj: object) -> TypeGuard[list[object]]:

Callers 12

assert_matches_typeFunction · 0.90
async_clientFunction · 0.90
filterMethod · 0.70
_extract_itemsFunction · 0.70
__init__Method · 0.50
__init__Method · 0.50
_build_requestMethod · 0.50

Calls

no outgoing calls