Classes | |
class | _ServicerMethods |
class | PythonPluginTest |
Functions | |
def | _create_directory_tree (root, path_components_sequence) |
def | _CreateIncompleteService (service_pb2) |
def | _CreateService (payload_pb2, responses_pb2, service_pb2) |
def | _full_duplex_request_iterator (requests_pb2) |
def | _massage_proto_content (raw_proto_content) |
def | _packagify (directory) |
def | _streaming_input_request_iterator (payload_pb2, requests_pb2) |
def | _streaming_output_request (requests_pb2) |
def | _system_path (path_insertion) |
Variables | |
string | _PAYLOAD_PB2 = 'beta_grpc_plugin_test.payload.test_payload_pb2' |
tuple | _PROTO_FILES_PATH_COMPONENTS |
string | _RELATIVE_PROTO_PATH = 'relative_proto_path' |
string | _RELATIVE_PYTHON_OUT = 'relative_python_out' |
string | _REQUESTS_PB2 = 'beta_grpc_plugin_test.requests.r.test_requests_pb2' |
string | _RESPONSES_PB2 = 'beta_grpc_plugin_test.responses.test_responses_pb2' |
string | _SERVICE_PB2 = 'beta_grpc_plugin_test.service.test_service_pb2' |
string | SERVER_FACTORY_IDENTIFIER = 'beta_create_TestService_server' |
string | SERVICER_IDENTIFIER = 'BetaTestServiceServicer' |
string | STUB_FACTORY_IDENTIFIER = 'beta_create_TestService_stub' |
string | STUB_IDENTIFIER = 'BetaTestServiceStub' |
verbosity | |
|
private |
Definition at line 82 of file beta_python_plugin_test.py.
|
private |
Provides a servicer backend that fails to implement methods and its stub. The servicer is just the implementation of the actual servicer passed to the face player of the python RPC implementation; the two are detached. Args: service_pb2: The service_pb2 module generated by this test. Yields: A (servicer_methods, stub) pair where servicer_methods is the back-end of the service bound to the stub and stub is the stub on which to invoke RPCs.
Definition at line 231 of file beta_python_plugin_test.py.
|
private |
Provides a servicer backend and a stub. The servicer is just the implementation of the actual servicer passed to the face player of the python RPC implementation; the two are detached. Yields: A (servicer_methods, stub) pair where servicer_methods is the back-end of the service bound to the stub and stub is the stub on which to invoke RPCs.
Definition at line 190 of file beta_python_plugin_test.py.
|
private |
Definition at line 274 of file beta_python_plugin_test.py.
|
private |
Definition at line 94 of file beta_python_plugin_test.py.
|
private |
Definition at line 103 of file beta_python_plugin_test.py.
|
private |
Definition at line 257 of file beta_python_plugin_test.py.
|
private |
Definition at line 265 of file beta_python_plugin_test.py.
|
private |
Definition at line 75 of file beta_python_plugin_test.py.
|
private |
Definition at line 62 of file beta_python_plugin_test.py.
|
private |
Definition at line 38 of file beta_python_plugin_test.py.
|
private |
Definition at line 35 of file beta_python_plugin_test.py.
|
private |
Definition at line 36 of file beta_python_plugin_test.py.
|
private |
Definition at line 63 of file beta_python_plugin_test.py.
|
private |
Definition at line 64 of file beta_python_plugin_test.py.
|
private |
Definition at line 65 of file beta_python_plugin_test.py.
string tests.protoc_plugin.beta_python_plugin_test.SERVER_FACTORY_IDENTIFIER = 'beta_create_TestService_server' |
Definition at line 70 of file beta_python_plugin_test.py.
string tests.protoc_plugin.beta_python_plugin_test.SERVICER_IDENTIFIER = 'BetaTestServiceServicer' |
Definition at line 68 of file beta_python_plugin_test.py.
string tests.protoc_plugin.beta_python_plugin_test.STUB_FACTORY_IDENTIFIER = 'beta_create_TestService_stub' |
Definition at line 71 of file beta_python_plugin_test.py.
string tests.protoc_plugin.beta_python_plugin_test.STUB_IDENTIFIER = 'BetaTestServiceStub' |
Definition at line 69 of file beta_python_plugin_test.py.
tests.protoc_plugin.beta_python_plugin_test.verbosity |
Definition at line 662 of file beta_python_plugin_test.py.