aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/python/sphinx/conf.py
diff options
context:
space:
mode:
authorGravatar Lidi Zheng <lidiz@google.com>2018-11-20 16:57:08 -0800
committerGravatar Lidi Zheng <lidiz@google.com>2018-11-27 17:27:39 -0800
commit43599facf4c8b42b8a14d0601556f4231d9d10f8 (patch)
tree3d072a265ae9a3482cd8895e45dd0b58501314db /doc/python/sphinx/conf.py
parentb32d8f5d4d99c5f94f970881ef9d8858eb52bbbc (diff)
Channelz Python wrapper implementation
* Expose the C-Core API in Cython layer * Handle the object translation * Create a separate package for Channelz specifically * Handle nullptr and raise exception if seen one * Translate C++ Channelz unit tests * Adding 5 more invalid query unit tests Adding peripheral utility for grpcio-channelz package * Add to `pylint_code.sh` * Add to Python build script * Add to artifact build script * Add to Bazel * Add to Sphinx module list
Diffstat (limited to 'doc/python/sphinx/conf.py')
-rw-r--r--doc/python/sphinx/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/python/sphinx/conf.py b/doc/python/sphinx/conf.py
index 1eb3a5de7f..307c3bdaf6 100644
--- a/doc/python/sphinx/conf.py
+++ b/doc/python/sphinx/conf.py
@@ -19,6 +19,7 @@ import sys
PYTHON_FOLDER = os.path.join(os.path.dirname(os.path.realpath(__file__)),
'..', '..', '..', 'src', 'python')
sys.path.insert(0, os.path.join(PYTHON_FOLDER, 'grpcio'))
+sys.path.insert(0, os.path.join(PYTHON_FOLDER, 'grpcio_channelz'))
sys.path.insert(0, os.path.join(PYTHON_FOLDER, 'grpcio_health_checking'))
sys.path.insert(0, os.path.join(PYTHON_FOLDER, 'grpcio_reflection'))
sys.path.insert(0, os.path.join(PYTHON_FOLDER, 'grpcio_testing'))
@@ -63,6 +64,8 @@ autodoc_default_options = {
autodoc_mock_imports = [
'grpc._cython',
+ 'grpc_channelz.v1.channelz_pb2',
+ 'grpc_channelz.v1.channelz_pb2_grpc',
'grpc_health.v1.health_pb2',
'grpc_health.v1.health_pb2_grpc',
'grpc_reflection.v1alpha.reflection_pb2',