Classes | Functions | Variables
tests_py3_only.unit._simple_stubs_test Namespace Reference

Classes

class  _GenericHandler
 
class  SimpleStubsTest
 

Functions

def _black_hole_handler (request, context)
 
def _env (str key, str value)
 
def _server (Optional[grpc.ServerCredentials] credentials)
 
def _stream_stream_handler (request_iterator, context)
 
def _stream_unary_handler (request_iterator, context)
 
datetime.timedelta _time_invocation (Callable[[], None] to_time)
 
def _unary_stream_handler (request, context)
 
def _unary_unary_handler (request, context)
 

Variables

string _BLACK_HOLE = "/test/BlackHole"
 
int _CACHE_EPOCHS = 8
 
int _CACHE_TRIALS = 6
 
int _CLIENT_REQUEST_COUNT = _SERVER_RESPONSE_COUNT
 
float _DEFAULT_TIMEOUT = 1.0
 
int _MAXIMUM_CHANNELS = 10
 
string _REQUEST = b"0000"
 
int _SERVER_RESPONSE_COUNT = 10
 
string _STREAM_STREAM = "/test/StreamStream"
 
string _STREAM_UNARY = "/test/StreamUnary"
 
int _STRESS_EPOCHS = _MAXIMUM_CHANNELS * 10
 
string _UNARY_STREAM = "/test/UnaryStream"
 
string _UNARY_UNARY = "/test/UnaryUnary"
 
 level
 
 verbosity
 

Function Documentation

◆ _black_hole_handler()

def tests_py3_only.unit._simple_stubs_test._black_hole_handler (   request,
  context 
)
private

Definition at line 90 of file _simple_stubs_test.py.

◆ _env()

def tests_py3_only.unit._simple_stubs_test._env ( str  key,
str  value 
)
private

Definition at line 63 of file _simple_stubs_test.py.

◆ _server()

def tests_py3_only.unit._simple_stubs_test._server ( Optional[grpc.ServerCredentials credentials)
private

Definition at line 125 of file _simple_stubs_test.py.

◆ _stream_stream_handler()

def tests_py3_only.unit._simple_stubs_test._stream_stream_handler (   request_iterator,
  context 
)
private

Definition at line 85 of file _simple_stubs_test.py.

◆ _stream_unary_handler()

def tests_py3_only.unit._simple_stubs_test._stream_unary_handler (   request_iterator,
  context 
)
private

Definition at line 78 of file _simple_stubs_test.py.

◆ _time_invocation()

datetime.timedelta tests_py3_only.unit._simple_stubs_test._time_invocation ( Callable[[], None]  to_time)
private

Definition at line 118 of file _simple_stubs_test.py.

◆ _unary_stream_handler()

def tests_py3_only.unit._simple_stubs_test._unary_stream_handler (   request,
  context 
)
private

Definition at line 73 of file _simple_stubs_test.py.

◆ _unary_unary_handler()

def tests_py3_only.unit._simple_stubs_test._unary_unary_handler (   request,
  context 
)
private

Definition at line 69 of file _simple_stubs_test.py.

Variable Documentation

◆ _BLACK_HOLE

string tests_py3_only.unit._simple_stubs_test._BLACK_HOLE = "/test/BlackHole"
private

Definition at line 59 of file _simple_stubs_test.py.

◆ _CACHE_EPOCHS

int tests_py3_only.unit._simple_stubs_test._CACHE_EPOCHS = 8
private

Definition at line 47 of file _simple_stubs_test.py.

◆ _CACHE_TRIALS

int tests_py3_only.unit._simple_stubs_test._CACHE_TRIALS = 6
private

Definition at line 48 of file _simple_stubs_test.py.

◆ _CLIENT_REQUEST_COUNT

int tests_py3_only.unit._simple_stubs_test._CLIENT_REQUEST_COUNT = _SERVER_RESPONSE_COUNT
private

Definition at line 51 of file _simple_stubs_test.py.

◆ _DEFAULT_TIMEOUT

float tests_py3_only.unit._simple_stubs_test._DEFAULT_TIMEOUT = 1.0
private

Definition at line 22 of file _simple_stubs_test.py.

◆ _MAXIMUM_CHANNELS

int tests_py3_only.unit._simple_stubs_test._MAXIMUM_CHANNELS = 10
private

Definition at line 20 of file _simple_stubs_test.py.

◆ _REQUEST

string tests_py3_only.unit._simple_stubs_test._REQUEST = b"0000"
private

Definition at line 45 of file _simple_stubs_test.py.

◆ _SERVER_RESPONSE_COUNT

int tests_py3_only.unit._simple_stubs_test._SERVER_RESPONSE_COUNT = 10
private

Definition at line 50 of file _simple_stubs_test.py.

◆ _STREAM_STREAM

string tests_py3_only.unit._simple_stubs_test._STREAM_STREAM = "/test/StreamStream"
private

Definition at line 58 of file _simple_stubs_test.py.

◆ _STREAM_UNARY

string tests_py3_only.unit._simple_stubs_test._STREAM_UNARY = "/test/StreamUnary"
private

Definition at line 57 of file _simple_stubs_test.py.

◆ _STRESS_EPOCHS

int tests_py3_only.unit._simple_stubs_test._STRESS_EPOCHS = _MAXIMUM_CHANNELS * 10
private

Definition at line 53 of file _simple_stubs_test.py.

◆ _UNARY_STREAM

string tests_py3_only.unit._simple_stubs_test._UNARY_STREAM = "/test/UnaryStream"
private

Definition at line 56 of file _simple_stubs_test.py.

◆ _UNARY_UNARY

string tests_py3_only.unit._simple_stubs_test._UNARY_UNARY = "/test/UnaryUnary"
private

Definition at line 55 of file _simple_stubs_test.py.

◆ level

tests_py3_only.unit._simple_stubs_test.level

Definition at line 415 of file _simple_stubs_test.py.

◆ verbosity

tests_py3_only.unit._simple_stubs_test.verbosity

Definition at line 416 of file _simple_stubs_test.py.



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