aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2016-12-11 12:18:47 -0800
committerGravatar GitHub <noreply@github.com>2016-12-11 12:18:47 -0800
commit30492b90a3301d91d4d674ebf978d0deec89d288 (patch)
treeffa8e7fefa00823a72b662b437b87e0d743fce65 /src/python/grpcio
parente528890bbc8ca302254b10b6a8085825fb7dc169 (diff)
parentb2b6a9eb5761944fdc4f689b291b60028c92c082 (diff)
Merge pull request #9041 from nathanielmanistaatgoogle/servicer_context_doc_strings-v1.0.x
ServicerContext methods doc string fix and tweak.
Diffstat (limited to 'src/python/grpcio')
-rw-r--r--src/python/grpcio/grpc/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/grpcio/grpc/__init__.py b/src/python/grpcio/grpc/__init__.py
index 126ad556bb..d4e3152c59 100644
--- a/src/python/grpcio/grpc/__init__.py
+++ b/src/python/grpcio/grpc/__init__.py
@@ -767,8 +767,8 @@ class ServicerContext(six.with_metaclass(abc.ABCMeta, RpcContext)):
gRPC runtime to determine the status code of the RPC.
Args:
- code: The integer status code of the RPC to be transmitted to the
- invocation side of the RPC.
+ code: A StatusCode value to be transmitted to the invocation side of the
+ RPC as the status code of the RPC.
"""
raise NotImplementedError()
@@ -780,8 +780,8 @@ class ServicerContext(six.with_metaclass(abc.ABCMeta, RpcContext)):
details to transmit.
Args:
- details: The details string of the RPC to be transmitted to
- the invocation side of the RPC.
+ details: A string to be transmitted to the invocation side of the RPC as
+ the status details of the RPC.
"""
raise NotImplementedError()