Browse Source

Remove async mark for set_trailing_metadata interface (#25814)

Lidi Zheng 4 years ago
parent
commit
cccafaf10f
1 changed files with 1 additions and 1 deletions
  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