Skip to content

Commit 1da0afe

Browse files
authored
[grpcio] Update to ~=1.83.0 (#16110)
1 parent cb3a6e3 commit 1da0afe

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

stubs/grpcio/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "~= 1.82.1"
1+
version = "~= 1.83.0"
22
upstream-repository = "https://github.com/grpc/grpc"
33
partial-stub = true
44

stubs/grpcio/grpc/aio/__init__.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ from grpc import (
2828
RpcError,
2929
RpcMethodHandler,
3030
ServerCredentials,
31+
Status,
3132
StatusCode,
3233
_Options,
3334
)
@@ -279,6 +280,8 @@ class ServicerContext(Generic[_TRequest, _TResponse], metaclass=abc.ABCMeta):
279280
async def send_initial_metadata(self, initial_metadata: _MetadataType) -> None: ...
280281
def add_done_callback(self, callback: _DoneCallback[_TRequest, _TResponse]) -> None: ...
281282
@abc.abstractmethod
283+
async def abort_with_status(self, status: Status) -> Never: ...
284+
@abc.abstractmethod
282285
def set_trailing_metadata(self, trailing_metadata: _MetadataType) -> None: ...
283286
@abc.abstractmethod
284287
def invocation_metadata(self) -> Metadata | None: ...

0 commit comments

Comments
 (0)