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

Function get_args

src/openai/_utils/_compat.py:15–16  ·  view source on GitHub ↗
(tp: type[Any])

Source from the content-addressed store, hash-verified

13
14
15def get_args(tp: type[Any]) -> tuple[Any, ...]:
16 return _get_args(tp)
17
18
19def get_origin(tp: type[Any]) -> type[Any] | None:

Callers 7

strip_annotated_typeFunction · 0.70
extract_type_argFunction · 0.70
_array_suffixFunction · 0.70
_get_annotated_typeFunction · 0.70
_maybe_transform_keyFunction · 0.70
_transform_recursiveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected