Classes | Functions | Variables
tests.protoc_plugin.beta_python_plugin_test Namespace Reference

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
 

Function Documentation

◆ _create_directory_tree()

def tests.protoc_plugin.beta_python_plugin_test._create_directory_tree (   root,
  path_components_sequence 
)
private

Definition at line 82 of file beta_python_plugin_test.py.

◆ _CreateIncompleteService()

def tests.protoc_plugin.beta_python_plugin_test._CreateIncompleteService (   service_pb2)
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.

◆ _CreateService()

def tests.protoc_plugin.beta_python_plugin_test._CreateService (   payload_pb2,
  responses_pb2,
  service_pb2 
)
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.

◆ _full_duplex_request_iterator()

def tests.protoc_plugin.beta_python_plugin_test._full_duplex_request_iterator (   requests_pb2)
private

Definition at line 274 of file beta_python_plugin_test.py.

◆ _massage_proto_content()

def tests.protoc_plugin.beta_python_plugin_test._massage_proto_content (   raw_proto_content)
private

Definition at line 94 of file beta_python_plugin_test.py.

◆ _packagify()

def tests.protoc_plugin.beta_python_plugin_test._packagify (   directory)
private

Definition at line 103 of file beta_python_plugin_test.py.

◆ _streaming_input_request_iterator()

def tests.protoc_plugin.beta_python_plugin_test._streaming_input_request_iterator (   payload_pb2,
  requests_pb2 
)
private

Definition at line 257 of file beta_python_plugin_test.py.

◆ _streaming_output_request()

def tests.protoc_plugin.beta_python_plugin_test._streaming_output_request (   requests_pb2)
private

Definition at line 265 of file beta_python_plugin_test.py.

◆ _system_path()

def tests.protoc_plugin.beta_python_plugin_test._system_path (   path_insertion)
private

Definition at line 75 of file beta_python_plugin_test.py.

Variable Documentation

◆ _PAYLOAD_PB2

string tests.protoc_plugin.beta_python_plugin_test._PAYLOAD_PB2 = 'beta_grpc_plugin_test.payload.test_payload_pb2'
private

Definition at line 62 of file beta_python_plugin_test.py.

◆ _PROTO_FILES_PATH_COMPONENTS

tuple tests.protoc_plugin.beta_python_plugin_test._PROTO_FILES_PATH_COMPONENTS
private
Initial value:
1 = (
2  (
3  'beta_grpc_plugin_test',
4  'payload',
5  'test_payload.proto',
6  ),
7  (
8  'beta_grpc_plugin_test',
9  'requests',
10  'r',
11  'test_requests.proto',
12  ),
13  (
14  'beta_grpc_plugin_test',
15  'responses',
16  'test_responses.proto',
17  ),
18  (
19  'beta_grpc_plugin_test',
20  'service',
21  'test_service.proto',
22  ),
23 )

Definition at line 38 of file beta_python_plugin_test.py.

◆ _RELATIVE_PROTO_PATH

string tests.protoc_plugin.beta_python_plugin_test._RELATIVE_PROTO_PATH = 'relative_proto_path'
private

Definition at line 35 of file beta_python_plugin_test.py.

◆ _RELATIVE_PYTHON_OUT

string tests.protoc_plugin.beta_python_plugin_test._RELATIVE_PYTHON_OUT = 'relative_python_out'
private

Definition at line 36 of file beta_python_plugin_test.py.

◆ _REQUESTS_PB2

string tests.protoc_plugin.beta_python_plugin_test._REQUESTS_PB2 = 'beta_grpc_plugin_test.requests.r.test_requests_pb2'
private

Definition at line 63 of file beta_python_plugin_test.py.

◆ _RESPONSES_PB2

string tests.protoc_plugin.beta_python_plugin_test._RESPONSES_PB2 = 'beta_grpc_plugin_test.responses.test_responses_pb2'
private

Definition at line 64 of file beta_python_plugin_test.py.

◆ _SERVICE_PB2

string tests.protoc_plugin.beta_python_plugin_test._SERVICE_PB2 = 'beta_grpc_plugin_test.service.test_service_pb2'
private

Definition at line 65 of file beta_python_plugin_test.py.

◆ SERVER_FACTORY_IDENTIFIER

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.

◆ SERVICER_IDENTIFIER

string tests.protoc_plugin.beta_python_plugin_test.SERVICER_IDENTIFIER = 'BetaTestServiceServicer'

Definition at line 68 of file beta_python_plugin_test.py.

◆ STUB_FACTORY_IDENTIFIER

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.

◆ STUB_IDENTIFIER

string tests.protoc_plugin.beta_python_plugin_test.STUB_IDENTIFIER = 'BetaTestServiceStub'

Definition at line 69 of file beta_python_plugin_test.py.

◆ verbosity

tests.protoc_plugin.beta_python_plugin_test.verbosity

Definition at line 662 of file beta_python_plugin_test.py.



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