MCPcopy Create free account
hub / github.com/anomalyco/opencode-sdk-python / get_args

Function get_args

src/opencode_ai/_compat.py:31–32  ·  view source on GitHub ↗
(t: type[Any])

Source from the content-addressed store, hash-verified

29 ...
30
31 def get_args(t: type[Any]) -> tuple[Any, ...]: # noqa: ARG001
32 ...
33
34 def is_union(tp: type[Any] | None) -> bool: # noqa: ARG001
35 ...

Callers 12

is_basemodelFunction · 0.85
construct_typeFunction · 0.85
_stringify_itemMethod · 0.85
strip_annotated_typeFunction · 0.85
extract_type_argFunction · 0.85
_get_annotated_typeFunction · 0.85
_maybe_transform_keyFunction · 0.85
_transform_recursiveFunction · 0.85
assert_matches_typeFunction · 0.85
_assert_list_typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected