Explorar o código

Remove async mark for set_trailing_metadata interface (#25814)

Lidi Zheng %!s(int64=4) %!d(string=hai) anos
pai
achega
cccafaf10f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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