Merge pull request #9041 from nathanielmanistaatgoogle/servicer_context_doc_strings-v1.0.x

ServicerContext methods doc string fix and tweak.
pull/9080/head
Nathaniel Manista 8 years ago committed by GitHub
commit 30492b90a3
  1. 8
      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()

Loading…
Cancel
Save