浏览代码

Remove async mark for set_trailing_metadata interface (#25814)

Lidi Zheng 4 年之前
父节点
当前提交
cccafaf10f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/python/grpcio/grpc/aio/_base_server.py

+ 1 - 1
src/python/grpcio/grpc/aio/_base_server.py

@@ -193,7 +193,7 @@ class ServicerContext(Generic[RequestType, ResponseType], abc.ABC):
         """
         """
 
 
     @abc.abstractmethod
     @abc.abstractmethod
-    async def set_trailing_metadata(self, trailing_metadata: Metadata) -> None:
+    def set_trailing_metadata(self, trailing_metadata: Metadata) -> None:
         """Sends the trailing metadata for the RPC.
         """Sends the trailing metadata for the RPC.
 
 
         This method need not be called by implementations if they have no
         This method need not be called by implementations if they have no