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

Function is_tuple_t

src/openai/_utils/_utils.py:178–179  ·  view source on GitHub ↗
(obj: _TupleT | object)

Source from the content-addressed store, hash-verified

176
177
178def is_tuple_t(obj: _TupleT | object) -> TypeGuard[_TupleT]:
179 return isinstance(obj, tuple)
180
181
182def is_sequence(obj: object) -> TypeGuard[Sequence[object]]:

Callers 2

_transform_fileFunction · 0.85
_async_transform_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected