Fix type issue

pull/22713/head
Pau Freixes 5 years ago
parent 7dbed97594
commit 20898aa2f2
  1. 4
      src/python/grpcio/grpc/experimental/aio/_channel.py

@ -67,7 +67,7 @@ class _BaseMultiCallable:
_method: bytes _method: bytes
_request_serializer: SerializingFunction _request_serializer: SerializingFunction
_response_deserializer: DeserializingFunction _response_deserializer: DeserializingFunction
_interceptors: Sequence[ClientInterceptor] _interceptors: Optional[Sequence[ClientInterceptor]]
_loop: asyncio.AbstractEventLoop _loop: asyncio.AbstractEventLoop
# pylint: disable=too-many-arguments # pylint: disable=too-many-arguments
@ -77,7 +77,7 @@ class _BaseMultiCallable:
method: bytes, method: bytes,
request_serializer: SerializingFunction, request_serializer: SerializingFunction,
response_deserializer: DeserializingFunction, response_deserializer: DeserializingFunction,
interceptors: Sequence[ClientInterceptor], interceptors: Optional[Sequence[ClientInterceptor]],
loop: asyncio.AbstractEventLoop, loop: asyncio.AbstractEventLoop,
) -> None: ) -> None:
self._loop = loop self._loop = loop

Loading…
Cancel
Save