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

Function _create_pydantic_model

src/opencode_ai/_models.py:749–750  ·  view source on GitHub ↗
(type_: _T)

Source from the content-addressed store, hash-verified

747 return cast(_T, model.__root__)
748
749 def _create_pydantic_model(type_: _T) -> Type[RootModel[_T]]:
750 return RootModel[type_] # type: ignore
751
752
753class FinalRequestOptionsInput(TypedDict, total=False):

Callers 1

_validate_non_model_typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected