MCPcopy Index your code
hub / github.com/msgspec/msgspec / NonKwOnlyChild

Class NonKwOnlyChild

tests/unit/test_struct_meta.py:199–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197
198 # Test overriding inherited kw_only_default
199 class NonKwOnlyChild(KwOnlyBase, kw_only=False):
200 x: int
201
202 # Should allow positional arguments
203 non_kw_child = NonKwOnlyChild(1)

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…