Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
15
def
get_args(tp: type[Any]) -> tuple[Any, ...]:
16
return
_get_args(tp)
17
18
19
def
get_origin(tp: type[Any]) -> type[Any] | None:
Callers
7
strip_annotated_type
Function · 0.70
extract_type_arg
Function · 0.70
_array_suffix
Function · 0.70
_get_annotated_type
Function · 0.70
_maybe_transform_key
Function · 0.70
_transform_recursive
Function · 0.70
_async_transform_recursive
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected