diff options
Diffstat (limited to 'python/google/protobuf/service.py')
-rwxr-xr-x | python/google/protobuf/service.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/google/protobuf/service.py b/python/google/protobuf/service.py index 9ec42fe3..dd136c9a 100755 --- a/python/google/protobuf/service.py +++ b/python/google/protobuf/service.py @@ -67,8 +67,6 @@ class Service(object): and "done" will later be called with the response value. In the blocking case, RpcException will be raised on error. - Asynchronous calls must check status via the Failed method of the - RpcController. Preconditions: * method_descriptor.service == GetDescriptor @@ -82,6 +80,9 @@ class Service(object): Postconditions: * "done" will be called when the method is complete. This may be before CallMethod() returns or it may be at some point in the future. + * If the RPC failed, the response value passed to "done" will be None. + Further details about the failure can be found by querying the + RpcController. """ raise NotImplementedError |