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

Function get_origin

src/openai/_compat.py:36–37  ·  view source on GitHub ↗
(t: type[Any])

Source from the content-addressed store, hash-verified

34 ...
35
36 def get_origin(t: type[Any]) -> type[Any] | None: # noqa: ARG001
37 ...
38
39 def is_literal_type(type_: type[Any]) -> bool: # noqa: ARG001
40 ...

Callers 8

_parseMethod · 0.70
_parseMethod · 0.70
is_basemodel_typeFunction · 0.70
construct_typeFunction · 0.70
_process_responseMethod · 0.70
_process_responseMethod · 0.70
is_stream_class_typeFunction · 0.70
assert_matches_typeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected