Extract grpcio plugins (#13896)

This commit is contained in:
Avasam authored and GitHub committed 2025-05-05 16:48:46 +02:00
1 parent 5991c939f1
commit a43e0a4c02
31 files changed
+16 -13

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
version = "1.*"
upstream_repository = "https://github.com/grpc/grpc"
requires = ["types-grpcio"]
Whitespace-only changes.
@@ -0,0 +1,5 @@
from _typeshed import Incomplete
async def from_call(call) -> Incomplete | None: ...
__all__ = ["from_call"]
@@ -0,0 +1,11 @@
import grpc
from . import _async as aio
# Returns a google.rpc.status.Status message corresponding to a given grpc.Call.
def from_call(call: grpc.Call): ...
# Convert a google.rpc.status.Status message to grpc.Status.
def to_status(status) -> grpc.Status: ...
__all__ = ["from_call", "to_status", "aio"]