MCPcopy 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

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…