Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode-sdk-python
/ B
Class
B
tests/test_models.py:663–666 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
661
data: str
662
663
class
B(BaseModel):
664
type: Literal[
"b"
]
665
666
data: int
667
668
m = construct_type(
669
value={
"type"
:
"b"
,
"data"
:
"foo"
},
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected