File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3636# extra Python function spreads to every single send and receive.
3737
3838
39- class _WrappedCall (Generic [ P ], aio .Call ):
39+ class _WrappedCall (aio .Call ):
4040 def __init__ (self ):
4141 self ._call = None
4242
@@ -152,9 +152,9 @@ class _WrappedStreamStreamCall(
152152
153153
154154# public type alias denoting the return type of async streaming gapic calls
155- GrpcAsyncStream = _WrappedStreamResponseMixin [ P ]
155+ GrpcAsyncStream = _WrappedStreamResponseMixin
156156# public type alias denoting the return type of unary gapic calls
157- AwaitableGrpcCall = _WrappedUnaryResponseMixin [ P ]
157+ AwaitableGrpcCall = _WrappedUnaryResponseMixin
158158
159159
160160def _wrap_unary_errors (callable_ ):
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ def test_awaitable_grpc_call():
319319 """
320320 AwaitableGrpcCall type should be an Awaitable and a grpc.aio.Call.
321321 """
322- instance = grpc_helpers_async .AwaitableGrpcCall [ int ] ()
322+ instance = grpc_helpers_async .AwaitableGrpcCall ()
323323 assert isinstance (instance , grpc .aio .Call )
324324 # should implement __await__
325325 assert hasattr (instance , "__await__" )
You can’t perform that action at this time.
0 commit comments