@@ -35,19 +35,9 @@ async def intercept_service(
3535grpc .aio .server (interceptors = [NoopAioInterceptor ()])
3636
3737aio_handler : grpc .aio .RpcMethodHandler [bytes , bytes ] = grpc .aio .RpcMethodHandler ()
38- aio_handler .unary_unary = cast (
39- Callable [[bytes , grpc .aio .ServicerContext [bytes , bytes ]], Awaitable [bytes ]],
40- None ,
41- )
42- aio_handler .unary_stream = cast (
43- Callable [[bytes , grpc .aio .ServicerContext [bytes , bytes ]], AsyncIterator [bytes ]],
44- None ,
45- )
46- aio_handler .stream_unary = cast (
47- Callable [[AsyncIterator [bytes ], grpc .aio .ServicerContext [bytes , bytes ]], Awaitable [bytes ]],
48- None ,
49- )
38+ aio_handler .unary_unary = cast (Callable [[bytes , grpc .aio .ServicerContext [bytes , bytes ]], Awaitable [bytes ]], None )
39+ aio_handler .unary_stream = cast (Callable [[bytes , grpc .aio .ServicerContext [bytes , bytes ]], AsyncIterator [bytes ]], None )
40+ aio_handler .stream_unary = cast (Callable [[AsyncIterator [bytes ], grpc .aio .ServicerContext [bytes , bytes ]], Awaitable [bytes ]], None )
5041aio_handler .stream_stream = cast (
51- Callable [[AsyncIterator [bytes ], grpc .aio .ServicerContext [bytes , bytes ]], AsyncIterator [bytes ]],
52- None ,
42+ Callable [[AsyncIterator [bytes ], grpc .aio .ServicerContext [bytes , bytes ]], AsyncIterator [bytes ]], None
5343)
0 commit comments