MCPcopy
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
178def is_sequence(obj: object) -> TypeGuard[Sequence[object]]:
179 return isinstance(obj, Sequence)
180
181
182def is_sequence_t(obj: _SequenceT | object) -> TypeGuard[_SequenceT]:

Callers 2

_transform_recursiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected