Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/openai-python
/ get_args
Function
get_args
src/openai/_compat.py:30–31 ·
view source on GitHub ↗
(t: type[Any])
Source
from the content-addressed store, hash-verified
28
...
29
30
def
get_args(t: type[Any]) -> tuple[Any, ...]:
# noqa: ARG001
31
...
32
33
def
is_union(tp: type[Any] | None) -> bool:
# noqa: ARG001
34
...
Callers
9
__get_pydantic_core_schema__
Method · 0.70
is_basemodel
Function · 0.70
construct_type
Function · 0.70
_build_discriminated_union_meta
Function · 0.70
_stringify_item
Method · 0.70
assert_matches_type
Function · 0.50
_assert_list_type
Function · 0.50
test_translation_create_overloads_in_sync
Function · 0.50
test_transcription_create_overloads_in_sync
Function · 0.50
Calls
no outgoing calls
Tested by
2
test_translation_create_overloads_in_sync
Function · 0.40
test_transcription_create_overloads_in_sync
Function · 0.40