浏览代码

Document as experimental

Richard Belleville 5 年之前
父节点
当前提交
d0e8342dcd
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/python/grpcio/grpc/_runtime_protos.py

+ 6 - 0
src/python/grpcio/grpc/_runtime_protos.py

@@ -51,6 +51,8 @@ def _interpreter_version_protos_and_services(*args, **kwargs):
 def protos(protobuf_path):  # pylint: disable=unused-argument
 def protos(protobuf_path):  # pylint: disable=unused-argument
     """Returns a module generated by the indicated .proto file.
     """Returns a module generated by the indicated .proto file.
 
 
+    THIS IS AN EXPERIMENTAL API.
+
     Use this function to retrieve classes corresponding to message
     Use this function to retrieve classes corresponding to message
     definitions in the .proto file.
     definitions in the .proto file.
 
 
@@ -72,6 +74,8 @@ def protos(protobuf_path):  # pylint: disable=unused-argument
 def services(protobuf_path):  # pylint: disable=unused-argument
 def services(protobuf_path):  # pylint: disable=unused-argument
     """Returns a module generated by the indicated .proto file.
     """Returns a module generated by the indicated .proto file.
 
 
+    THIS IS AN EXPERIMENTAL API.
+
     Use this function to retrieve classes and functions corresponding to
     Use this function to retrieve classes and functions corresponding to
     service definitions in the .proto file, including both stub and servicer
     service definitions in the .proto file, including both stub and servicer
     definitions.
     definitions.
@@ -94,6 +98,8 @@ def services(protobuf_path):  # pylint: disable=unused-argument
 def protos_and_services(protobuf_path):  # pylint: disable=unused-argument
 def protos_and_services(protobuf_path):  # pylint: disable=unused-argument
     """Returns a 2-tuple of modules corresponding to protos and services.
     """Returns a 2-tuple of modules corresponding to protos and services.
 
 
+    THIS IS AN EXPERIMENTAL API.
+
     The return value of this function is equivalent to a call to protos and a
     The return value of this function is equivalent to a call to protos and a
     call to services.
     call to services.
     """
     """