From 20898aa2f2a47ee75a58319a12ca1cc7cc843b48 Mon Sep 17 00:00:00 2001 From: Pau Freixes Date: Tue, 21 Apr 2020 16:45:33 +0200 Subject: [PATCH] Fix type issue --- src/python/grpcio/grpc/experimental/aio/_channel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/grpcio/grpc/experimental/aio/_channel.py b/src/python/grpcio/grpc/experimental/aio/_channel.py index edd956b973a..89c556c997e 100644 --- a/src/python/grpcio/grpc/experimental/aio/_channel.py +++ b/src/python/grpcio/grpc/experimental/aio/_channel.py @@ -67,7 +67,7 @@ class _BaseMultiCallable: _method: bytes _request_serializer: SerializingFunction _response_deserializer: DeserializingFunction - _interceptors: Sequence[ClientInterceptor] + _interceptors: Optional[Sequence[ClientInterceptor]] _loop: asyncio.AbstractEventLoop # pylint: disable=too-many-arguments @@ -77,7 +77,7 @@ class _BaseMultiCallable: method: bytes, request_serializer: SerializingFunction, response_deserializer: DeserializingFunction, - interceptors: Sequence[ClientInterceptor], + interceptors: Optional[Sequence[ClientInterceptor]], loop: asyncio.AbstractEventLoop, ) -> None: self._loop = loop