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

Class ProtoRpcMethod

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

An RPC method declaration.

Source from the content-addressed store, hash-verified

93
94@dataclass
95class ProtoRpcMethod:
96 """An RPC method declaration."""
97
98 name: str
99 request_type: str
100 response_type: str
101 client_streaming: bool = False
102 server_streaming: bool = False
103 options: Dict[str, object] = field(default_factory=dict)
104 line: int = 0
105 column: int = 0
106
107
108@dataclass

Callers 1

parse_rpc_methodMethod · 0.90

Calls 1

fieldFunction · 0.50

Tested by

no test coverage detected