Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode-sdk-python
/ test_repr
Function
test_repr
tests/test_models.py:183–186 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
181
182
183
def
test_repr() -> None:
184
model = BasicModel(foo=
"bar"
)
185
assert str(model) ==
"BasicModel(foo='bar')"
186
assert repr(model) ==
"BasicModel(foo='bar')"
187
188
189
def
test_repr_nested_model() -> None:
Callers
nothing calls this directly
Calls
1
BasicModel
Class · 0.85
Tested by
no test coverage detected