Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
202
def
is_list(obj: object) -> TypeGuard[list[object]]:
203
return
isinstance(obj, list)
204
205
206
def
is_iterable(obj: object) -> TypeGuard[Iterable[object]]:
Callers
10
_assert_list_type
Function · 0.90
_deepcopy_with_paths
Function · 0.85
construct_type
Function · 0.85
_serialize_multipartform
Method · 0.85
_extract_items
Function · 0.85
_transform_recursive
Function · 0.85
_async_transform_recursive
Function · 0.85
_ensure_strict_json_schema
Function · 0.85
accumulate_delta
Function · 0.85
accumulate_delta
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected