-
Notifications
You must be signed in to change notification settings - Fork 0
/
greeting_pb2_grpc.pyi
31 lines (23 loc) · 1.78 KB
/
greeting_pb2_grpc.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import abc
import brokrpc.spec.v1.consumer_pb2
import builtins
import gen.greeting_pb2
import grpc
import grpc.aio
import typing
class GreeterServicer(metaclass=abc.ABCMeta):
"""the greeter service"""
@abc.abstractmethod
async def Greet(self, request: gen.greeting_pb2.GreetRequest, context: grpc.aio.ServicerContext[gen.greeting_pb2.GreetRequest, gen.greeting_pb2.GreetResponse]) -> gen.greeting_pb2.GreetResponse:
"""the greet method"""
...
@abc.abstractmethod
async def NotifyGreet(self, request: gen.greeting_pb2.GreetResponse, context: grpc.aio.ServicerContext[gen.greeting_pb2.GreetResponse, brokrpc.spec.v1.consumer_pb2.Void]) -> brokrpc.spec.v1.consumer_pb2.Void:...
def add_GreeterServicer_to_server(servicer: GreeterServicer, server: grpc.aio.Server) -> None:...
class GreeterStub:
"""the greeter service"""
def __init__(self, channel: grpc.aio.Channel) -> None:...
def Greet(self, request: gen.greeting_pb2.GreetRequest, *, timeout: typing.Optional[builtins.float]=None, metadata: typing.Optional[grpc.aio.MetadataType]=None, credentials: typing.Optional[grpc.CallCredentials]=None, wait_for_ready: typing.Optional[builtins.bool]=None, compression: typing.Optional[grpc.Compression]=None) -> grpc.aio.UnaryUnaryCall[gen.greeting_pb2.GreetRequest, gen.greeting_pb2.GreetResponse]:
"""the greet method"""
...
def NotifyGreet(self, request: gen.greeting_pb2.GreetResponse, *, timeout: typing.Optional[builtins.float]=None, metadata: typing.Optional[grpc.aio.MetadataType]=None, credentials: typing.Optional[grpc.CallCredentials]=None, wait_for_ready: typing.Optional[builtins.bool]=None, compression: typing.Optional[grpc.Compression]=None) -> grpc.aio.UnaryUnaryCall[gen.greeting_pb2.GreetResponse, brokrpc.spec.v1.consumer_pb2.Void]:...