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

Function is_list

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

Source from the content-addressed store, hash-verified

200
201
202def is_list(obj: object) -> TypeGuard[list[object]]:
203 return isinstance(obj, list)
204
205
206def is_iterable(obj: object) -> TypeGuard[Iterable[object]]:

Callers 10

_assert_list_typeFunction · 0.90
_deepcopy_with_pathsFunction · 0.85
construct_typeFunction · 0.85
_extract_itemsFunction · 0.85
_transform_recursiveFunction · 0.85
accumulate_deltaFunction · 0.85
accumulate_deltaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected