@@ -31,7 +31,7 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
3131GRPC_GENERATED_VERSION : str
3232GRPC_VERSION : str
3333_DummyServiceUnaryUnaryType = typing_extensions .TypeVar (
34- ' _DummyServiceUnaryUnaryType' ,
34+ " _DummyServiceUnaryUnaryType" ,
3535 grpc .UnaryUnaryMultiCallable [
3636 testproto .grpc .dummy_pb2 .DummyRequest ,
3737 testproto .grpc .dummy_pb2 .DummyReply ,
@@ -47,7 +47,7 @@ _DummyServiceUnaryUnaryType = typing_extensions.TypeVar(
4747)
4848
4949_DummyServiceUnaryStreamType = typing_extensions .TypeVar (
50- ' _DummyServiceUnaryStreamType' ,
50+ " _DummyServiceUnaryStreamType" ,
5151 grpc .UnaryStreamMultiCallable [
5252 testproto .grpc .dummy_pb2 .DummyRequest ,
5353 testproto .grpc .dummy_pb2 .DummyReply ,
@@ -63,7 +63,7 @@ _DummyServiceUnaryStreamType = typing_extensions.TypeVar(
6363)
6464
6565_DummyServiceStreamUnaryType = typing_extensions .TypeVar (
66- ' _DummyServiceStreamUnaryType' ,
66+ " _DummyServiceStreamUnaryType" ,
6767 grpc .StreamUnaryMultiCallable [
6868 testproto .grpc .dummy_pb2 .DummyRequest ,
6969 testproto .grpc .dummy_pb2 .DummyReply ,
@@ -79,7 +79,7 @@ _DummyServiceStreamUnaryType = typing_extensions.TypeVar(
7979)
8080
8181_DummyServiceStreamStreamType = typing_extensions .TypeVar (
82- ' _DummyServiceStreamStreamType' ,
82+ " _DummyServiceStreamStreamType" ,
8383 grpc .StreamStreamMultiCallable [
8484 testproto .grpc .dummy_pb2 .DummyRequest ,
8585 testproto .grpc .dummy_pb2 .DummyReply ,
@@ -98,44 +98,49 @@ class DummyServiceStub(typing.Generic[_DummyServiceUnaryUnaryType, _DummyService
9898 """DummyService"""
9999
100100 @typing .overload
101- def __init__ (self : DummyServiceStub [
102- grpc .UnaryUnaryMultiCallable [
103- testproto .grpc .dummy_pb2 .DummyRequest ,
104- testproto .grpc .dummy_pb2 .DummyReply ,
101+ def __init__ (
102+ self : DummyServiceStub [
103+ grpc .UnaryUnaryMultiCallable [
104+ testproto .grpc .dummy_pb2 .DummyRequest ,
105+ testproto .grpc .dummy_pb2 .DummyReply ,
106+ ],
107+ grpc .UnaryStreamMultiCallable [
108+ testproto .grpc .dummy_pb2 .DummyRequest ,
109+ testproto .grpc .dummy_pb2 .DummyReply ,
110+ ],
111+ grpc .StreamUnaryMultiCallable [
112+ testproto .grpc .dummy_pb2 .DummyRequest ,
113+ testproto .grpc .dummy_pb2 .DummyReply ,
114+ ],
115+ grpc .StreamStreamMultiCallable [
116+ testproto .grpc .dummy_pb2 .DummyRequest ,
117+ testproto .grpc .dummy_pb2 .DummyReply ,
118+ ],
105119 ],
106- grpc .UnaryStreamMultiCallable [
107- testproto .grpc .dummy_pb2 .DummyRequest ,
108- testproto .grpc .dummy_pb2 .DummyReply ,
109- ],
110- grpc .StreamUnaryMultiCallable [
111- testproto .grpc .dummy_pb2 .DummyRequest ,
112- testproto .grpc .dummy_pb2 .DummyReply ,
113- ],
114- grpc .StreamStreamMultiCallable [
115- testproto .grpc .dummy_pb2 .DummyRequest ,
116- testproto .grpc .dummy_pb2 .DummyReply ,
117- ],
118- ], channel : grpc .Channel ) -> None : ...
119-
120+ channel : grpc .Channel ,
121+ ) -> None : ...
120122 @typing .overload
121- def __init__ (self : DummyServiceStub [
122- grpc .aio .UnaryUnaryMultiCallable [
123- testproto .grpc .dummy_pb2 .DummyRequest ,
124- testproto .grpc .dummy_pb2 .DummyReply ,
125- ],
126- grpc .aio .UnaryStreamMultiCallable [
127- testproto .grpc .dummy_pb2 .DummyRequest ,
128- testproto .grpc .dummy_pb2 .DummyReply ,
123+ def __init__ (
124+ self : DummyServiceStub [
125+ grpc .aio .UnaryUnaryMultiCallable [
126+ testproto .grpc .dummy_pb2 .DummyRequest ,
127+ testproto .grpc .dummy_pb2 .DummyReply ,
128+ ],
129+ grpc .aio .UnaryStreamMultiCallable [
130+ testproto .grpc .dummy_pb2 .DummyRequest ,
131+ testproto .grpc .dummy_pb2 .DummyReply ,
132+ ],
133+ grpc .aio .StreamUnaryMultiCallable [
134+ testproto .grpc .dummy_pb2 .DummyRequest ,
135+ testproto .grpc .dummy_pb2 .DummyReply ,
136+ ],
137+ grpc .aio .StreamStreamMultiCallable [
138+ testproto .grpc .dummy_pb2 .DummyRequest ,
139+ testproto .grpc .dummy_pb2 .DummyReply ,
140+ ],
129141 ],
130- grpc .aio .StreamUnaryMultiCallable [
131- testproto .grpc .dummy_pb2 .DummyRequest ,
132- testproto .grpc .dummy_pb2 .DummyReply ,
133- ],
134- grpc .aio .StreamStreamMultiCallable [
135- testproto .grpc .dummy_pb2 .DummyRequest ,
136- testproto .grpc .dummy_pb2 .DummyReply ,
137- ],
138- ], channel : grpc .aio .Channel ) -> None : ...
142+ channel : grpc .aio .Channel ,
143+ ) -> None : ...
139144
140145 UnaryUnary : _DummyServiceUnaryUnaryType
141146 """UnaryUnary"""
@@ -206,7 +211,7 @@ class DummyServiceServicer(metaclass=abc.ABCMeta):
206211def add_DummyServiceServicer_to_server (servicer : DummyServiceServicer , server : typing .Union [grpc .Server , grpc .aio .Server ]) -> None : ...
207212
208213_DeprecatedServiceDeprecatedMethodType = typing_extensions .TypeVar (
209- ' _DeprecatedServiceDeprecatedMethodType' ,
214+ " _DeprecatedServiceDeprecatedMethodType" ,
210215 grpc .UnaryUnaryMultiCallable [
211216 testproto .grpc .dummy_pb2 .DeprecatedRequest ,
212217 testproto .grpc .dummy_pb2 .DummyReply ,
@@ -222,7 +227,7 @@ _DeprecatedServiceDeprecatedMethodType = typing_extensions.TypeVar(
222227)
223228
224229_DeprecatedServiceDeprecatedMethodNotDeprecatedRequestType = typing_extensions .TypeVar (
225- ' _DeprecatedServiceDeprecatedMethodNotDeprecatedRequestType' ,
230+ " _DeprecatedServiceDeprecatedMethodNotDeprecatedRequestType" ,
226231 grpc .UnaryUnaryMultiCallable [
227232 testproto .grpc .dummy_pb2 .DummyRequest ,
228233 testproto .grpc .dummy_pb2 .DummyReply ,
@@ -242,28 +247,33 @@ class DeprecatedServiceStub(typing.Generic[_DeprecatedServiceDeprecatedMethodTyp
242247 """Marking the service as deprecated"""
243248
244249 @typing .overload
245- def __init__ (self : DeprecatedServiceStub [
246- grpc .UnaryUnaryMultiCallable [
247- testproto .grpc .dummy_pb2 .DeprecatedRequest ,
248- testproto .grpc .dummy_pb2 .DummyReply ,
249- ],
250- grpc .UnaryUnaryMultiCallable [
251- testproto .grpc .dummy_pb2 .DummyRequest ,
252- testproto .grpc .dummy_pb2 .DummyReply ,
250+ def __init__ (
251+ self : DeprecatedServiceStub [
252+ grpc .UnaryUnaryMultiCallable [
253+ testproto .grpc .dummy_pb2 .DeprecatedRequest ,
254+ testproto .grpc .dummy_pb2 .DummyReply ,
255+ ],
256+ grpc .UnaryUnaryMultiCallable [
257+ testproto .grpc .dummy_pb2 .DummyRequest ,
258+ testproto .grpc .dummy_pb2 .DummyReply ,
259+ ],
253260 ],
254- ], channel : grpc . Channel ) -> None : ...
255-
261+ channel : grpc . Channel ,
262+ ) -> None : ...
256263 @typing .overload
257- def __init__ (self : DeprecatedServiceStub [
258- grpc .aio .UnaryUnaryMultiCallable [
259- testproto .grpc .dummy_pb2 .DeprecatedRequest ,
260- testproto .grpc .dummy_pb2 .DummyReply ,
261- ],
262- grpc .aio .UnaryUnaryMultiCallable [
263- testproto .grpc .dummy_pb2 .DummyRequest ,
264- testproto .grpc .dummy_pb2 .DummyReply ,
264+ def __init__ (
265+ self : DeprecatedServiceStub [
266+ grpc .aio .UnaryUnaryMultiCallable [
267+ testproto .grpc .dummy_pb2 .DeprecatedRequest ,
268+ testproto .grpc .dummy_pb2 .DummyReply ,
269+ ],
270+ grpc .aio .UnaryUnaryMultiCallable [
271+ testproto .grpc .dummy_pb2 .DummyRequest ,
272+ testproto .grpc .dummy_pb2 .DummyReply ,
273+ ],
265274 ],
266- ], channel : grpc .aio .Channel ) -> None : ...
275+ channel : grpc .aio .Channel ,
276+ ) -> None : ...
267277
268278 DeprecatedMethod : _DeprecatedServiceDeprecatedMethodType
269279 """DeprecatedMethod"""
0 commit comments