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

Class Older

tests/test_features.py:124–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122
123 @dataclass
124 class Older(betterproto.Message):
125 foo: bool = betterproto.bool_field(1)
126
127 newer = Newer(foo=True, bar=1, baz="Hello")
128 serialized_newer = bytes(newer)

Callers 1

test_unknown_fieldsFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_unknown_fieldsFunction · 0.68