MCPcopy Create free account
hub / github.com/apache/fory / ProtoService

Class ProtoService

compiler/fory_compiler/frontend/proto/ast.py:109–116  ·  view source on GitHub ↗

A ProtoBuffers service declaration.

Source from the content-addressed store, hash-verified

107
108@dataclass
109class ProtoService:
110 """A ProtoBuffers service declaration."""
111
112 name: str
113 methods: List["ProtoRpcMethod"] = field(default_factory=list)
114 options: Dict[str, object] = field(default_factory=dict)
115 line: int = 0
116 column: int = 0
117
118
119@dataclass

Callers 1

parse_serviceMethod · 0.90

Calls 1

fieldFunction · 0.50

Tested by

no test coverage detected