Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/openai-python
/ is_iterable
Function
is_iterable
src/openai/_utils/_utils.py:206–207 ·
view source on GitHub ↗
(obj: object)
Source
from the content-addressed store, hash-verified
204
205
206
def
is_iterable(obj: object) -> TypeGuard[Iterable[object]]:
207
return
isinstance(obj, Iterable)
208
209
210
# copied from https://github.com/Rapptz/RoboDanny
Callers
3
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