Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anthropics/anthropic-sdk-python
/ is_sequence
Function
is_sequence
src/anthropic/_utils/_utils.py:178–179 ·
view source on GitHub ↗
(obj: object)
Source
from the content-addressed store, hash-verified
176
177
178
def
is_sequence(obj: object) -> TypeGuard[Sequence[object]]:
179
return
isinstance(obj, Sequence)
180
181
182
def
is_sequence_t(obj: _SequenceT | object) -> TypeGuard[_SequenceT]:
Callers
2
_transform_recursive
Function · 0.85
_async_transform_recursive
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected