Эх сурвалжийг харах

Remove async mark for set_trailing_metadata interface (#25814)

Lidi Zheng 4 жил өмнө
parent
commit
cccafaf10f

+ 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