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

Class Test

tests/unit/test_struct.py:1911–1912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1909class TestRename:
1910 def test_field_name(self):
1911 class Test(Struct):
1912 x: int = field(name="field_x")
1913
1914 assert Test.__struct_encode_fields__ == ("field_x",)
1915

Callers

nothing calls this directly

Calls 1

fieldFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…