Ng Wai Foong
Sep 14, 2022

--

Hi, I have not tested the async version but you can refer to the following documentation for more information on it:

https://grpc.github.io/grpc/python/grpc_asyncio.html

Instead of grpc.insecure_channel, change it to grpc.aio.insecure_channel.

Also, you need to replace the underlying file open code with the async equivalent such as aiofiles to make your application fully asynchronous.

--

--

Ng Wai Foong
Ng Wai Foong

Written by Ng Wai Foong

Senior AI Engineer@Yoozoo | Content Writer #NLP #datascience #programming #machinelearning | Linkedin: https://www.linkedin.com/in/wai-foong-ng-694619185/

No responses yet