Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/msgspec/msgspec
/ SimpleChild
Class
SimpleChild
tests/unit/test_struct_meta.py:181–182 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
179
180
# Test a simple child class, should inherit kw_only_default
181
class
SimpleChild(KwOnlyBase):
182
x: int
183
184
# Should only allow keyword arguments
185
with
pytest.raises(TypeError):
Callers
1
test_struct_meta_inheritance
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_struct_meta_inheritance
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…