Functions | Variables
grpc_status._async Namespace Reference

Functions

def from_call (aio.Call call)
 

Variables

list __all__
 
 code = await call.code()
 
 details = await call.details()
 
 rich_status = status_pb2.Status.FromString(value)
 
 trailing_metadata = await call.trailing_metadata()
 

Function Documentation

◆ from_call()

def grpc_status._async.from_call ( aio.Call  call)

Definition at line 23 of file grpcio_status/grpc_status/_async.py.

Variable Documentation

◆ __all__

list grpc_status._async.__all__
private
Initial value:
1 = [
2  'from_call',
3 ]

Definition at line 54 of file grpcio_status/grpc_status/_async.py.

◆ code

grpc_status._async.code = await call.code()
Returns a google.rpc.status.Status message from a given grpc.aio.Call.

This is an EXPERIMENTAL API.

Args:
  call: An grpc.aio.Call instance.

Returns:
  A google.rpc.status.Status message representing the status of the RPC.

Definition at line 34 of file grpcio_status/grpc_status/_async.py.

◆ details

grpc_status._async.details = await call.details()

Definition at line 35 of file grpcio_status/grpc_status/_async.py.

◆ rich_status

grpc_status._async.rich_status = status_pb2.Status.FromString(value)

Definition at line 41 of file grpcio_status/grpc_status/_async.py.

◆ trailing_metadata

grpc_status._async.trailing_metadata = await call.trailing_metadata()

Definition at line 36 of file grpcio_status/grpc_status/_async.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:40