Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc_tools.protoc.ProtoLoader Class Reference
Inheritance diagram for grpc_tools.protoc.ProtoLoader:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, suffix, codegen_fn, module_name, protobuf_path, proto_root)
 
def create_module (self, spec)
 
def exec_module (self, module)
 

Private Member Functions

def _generated_file_to_module_name (self, filepath)
 

Private Attributes

 _codegen_fn
 
 _module_name
 
 _proto_root
 
 _protobuf_path
 
 _suffix
 

Detailed Description

Definition at line 101 of file protoc.py.

Constructor & Destructor Documentation

◆ __init__()

def grpc_tools.protoc.ProtoLoader.__init__ (   self,
  suffix,
  codegen_fn,
  module_name,
  protobuf_path,
  proto_root 
)

Definition at line 103 of file protoc.py.

Member Function Documentation

◆ _generated_file_to_module_name()

def grpc_tools.protoc.ProtoLoader._generated_file_to_module_name (   self,
  filepath 
)
private

Definition at line 114 of file protoc.py.

◆ create_module()

def grpc_tools.protoc.ProtoLoader.create_module (   self,
  spec 
)

Definition at line 111 of file protoc.py.

◆ exec_module()

def grpc_tools.protoc.ProtoLoader.exec_module (   self,
  module 
)

Definition at line 119 of file protoc.py.

Member Data Documentation

◆ _codegen_fn

grpc_tools.protoc.ProtoLoader._codegen_fn
private

Definition at line 105 of file protoc.py.

◆ _module_name

grpc_tools.protoc.ProtoLoader._module_name
private

Definition at line 106 of file protoc.py.

◆ _proto_root

grpc_tools.protoc.ProtoLoader._proto_root
private

Definition at line 108 of file protoc.py.

◆ _protobuf_path

grpc_tools.protoc.ProtoLoader._protobuf_path
private

Definition at line 107 of file protoc.py.

◆ _suffix

grpc_tools.protoc.ProtoLoader._suffix
private

Definition at line 104 of file protoc.py.


The documentation for this class was generated from the following file:


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