From d411891bf649145a7c7874ad858c868957b946c0 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Fri, 6 Dec 2019 12:55:24 -0800 Subject: [PATCH] Fix a tiny typing mismatch --- src/python/grpcio/grpc/experimental/aio/_channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/grpcio/grpc/experimental/aio/_channel.py b/src/python/grpcio/grpc/experimental/aio/_channel.py index 6227f8bc11c..849b9bd6f81 100644 --- a/src/python/grpcio/grpc/experimental/aio/_channel.py +++ b/src/python/grpcio/grpc/experimental/aio/_channel.py @@ -23,7 +23,7 @@ from ._typing import (DeserializingFunction, MetadataType, SerializingFunction) def _timeout_to_deadline(loop: asyncio.AbstractEventLoop, - timeout: int) -> Optional[int]: + timeout: Optional[float]) -> Optional[float]: if timeout is None: return None return loop.time() + timeout