Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/danielgtaylor/python-betterproto
/ Foo
Class
Foo
tests/test_features.py:34–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
33
@dataclass
34
class
Foo(betterproto.Message):
35
bar: Bar = betterproto.message_field(1)
36
37
# Unset by default
38
foo = Foo()
Callers
7
test_has_field
Function · 0.70
test_class_init
Function · 0.70
test_enum_as_int_json
Function · 0.70
test_oneof_support
Function · 0.70
_round_trip_serialization
Function · 0.70
test_oneof_default_value_set_causes_writes_wire
Function · 0.70
test_oneof_serializes_similar_to_google_oneof
Function · 0.50
Calls
no outgoing calls
Tested by
7
test_has_field
Function · 0.56
test_class_init
Function · 0.56
test_enum_as_int_json
Function · 0.56
test_oneof_support
Function · 0.56
_round_trip_serialization
Function · 0.56
test_oneof_default_value_set_causes_writes_wire
Function · 0.56
test_oneof_serializes_similar_to_google_oneof
Function · 0.40