grpc.CallCredentials doc string correction

pull/13533/head
Nathaniel Manista 7 years ago
parent 8f1271c7fa
commit 6e6e31e75b
  1. 13
      src/python/grpcio/grpc/__init__.py

@ -359,15 +359,14 @@ class ChannelCredentials(object):
class CallCredentials(object):
"""An encapsulation of the data required to assert an identity over a
channel.
"""An encapsulation of the data required to assert an identity over a call.
A CallCredentials may be composed with ChannelCredentials to always assert
identity for every call over that Channel.
A CallCredentials may be composed with ChannelCredentials to always assert
identity for every call over that Channel.
This class has no supported interface - it exists to define the type of its
instances and its instances exist to be passed to other functions.
"""
This class has no supported interface - it exists to define the type of its
instances and its instances exist to be passed to other functions.
"""
def __init__(self, credentials):
self._credentials = credentials

Loading…
Cancel
Save