MCPcopy
hub / github.com/danielgtaylor/python-betterproto / Newer

Class Newer

tests/test_features.py:118–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116def test_unknown_fields():
117 @dataclass
118 class Newer(betterproto.Message):
119 foo: bool = betterproto.bool_field(1)
120 bar: int = betterproto.int32_field(2)
121 baz: str = betterproto.string_field(3)
122
123 @dataclass
124 class Older(betterproto.Message):

Callers 1

test_unknown_fieldsFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_unknown_fieldsFunction · 0.68