Public Member Functions | |
def | __init__ (self, state) |
def | __repr__ (self) |
def | __str__ (self) |
def | add_done_callback (self, fn, timeout=None) |
def | cancel (self) |
def | cancelled (self) |
def | code (self) |
def | debug_error_string (self) |
def | details (self) |
def | done (self) |
def | exception (self, timeout=None) |
def | initial_metadata (self) |
def | result (self, timeout=None) |
def | running (self) |
def | traceback (self, timeout=None) |
def | trailing_metadata (self) |
![]() | |
def | add_callback (self, callback) |
def | is_active (self) |
def | time_remaining (self) |
![]() | |
def | add_done_callback (self, fn) |
Private Member Functions | |
def | _repr (self) |
Private Attributes | |
_state | |
An RPC error not tied to the execution of a particular RPC. The RPC represented by the state object must not be in-progress or cancelled. Attributes: _state: An instance of _RPCState.
Definition at line 283 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.__init__ | ( | self, | |
state | |||
) |
Definition at line 293 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.__repr__ | ( | self | ) |
Definition at line 319 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.__str__ | ( | self | ) |
Definition at line 322 of file grpc/_channel.py.
|
private |
Definition at line 316 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.add_done_callback | ( | self, | |
fn, | |||
timeout = None |
|||
) |
See grpc.Future.add_done_callback.
Definition at line 356 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.cancel | ( | self | ) |
See grpc.Future.cancel.
Reimplemented from grpc.Future.
Definition at line 325 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.cancelled | ( | self | ) |
See grpc.Future.cancelled.
Reimplemented from grpc.Future.
Definition at line 329 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.code | ( | self | ) |
Accesses the status code sent by the server. This method blocks until the value is available. Returns: The StatusCode value for the RPC.
Reimplemented from grpc.Call.
Definition at line 307 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.debug_error_string | ( | self | ) |
Definition at line 313 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.details | ( | self | ) |
Accesses the details sent by the server. This method blocks until the value is available. Returns: The details string of the RPC.
Reimplemented from grpc.Call.
Definition at line 310 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.done | ( | self | ) |
See grpc.Future.done.
Reimplemented from grpc.Future.
Definition at line 337 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.exception | ( | self, | |
timeout = None |
|||
) |
See grpc.Future.exception.
Reimplemented from grpc.Future.
Definition at line 345 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.initial_metadata | ( | self | ) |
Accesses the initial metadata sent by the server. This method blocks until the value is available. Returns: The initial :term:`metadata`.
Reimplemented from grpc.Call.
Definition at line 301 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.result | ( | self, | |
timeout = None |
|||
) |
See grpc.Future.result.
Reimplemented from grpc.Future.
Definition at line 341 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.running | ( | self | ) |
See grpc.Future.running.
Reimplemented from grpc.Future.
Definition at line 333 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.traceback | ( | self, | |
timeout = None |
|||
) |
See grpc.Future.traceback.
Reimplemented from grpc.Future.
Definition at line 349 of file grpc/_channel.py.
def grpc._channel._InactiveRpcError.trailing_metadata | ( | self | ) |
Accesses the trailing metadata sent by the server. This method blocks until the value is available. Returns: The trailing :term:`metadata`.
Reimplemented from grpc.Call.
Definition at line 304 of file grpc/_channel.py.
|
private |
Definition at line 295 of file grpc/_channel.py.