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