Skip to content

Commit

Permalink
Updating MethodMock docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Nov 25, 2015
1 parent d7a6c06 commit a92693d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions gcloud_bigtable/_grpc_mocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@


class MethodMock(object):
"""Mock for :class:`grpc.framework.alpha._reexport._UnaryUnarySyncAsync`.
"""Mock for API method attached to a gRPC stub.
Can also be used for beta equivalent:
In the beta implementation, these are of type.
:class:`grpc.framework.crust.implementations._UnaryUnaryMultiCallable`
May need to be callable and needs to (in our use) have an
``async`` method.
"""

def __init__(self, name, factory):
Expand Down

0 comments on commit a92693d

Please sign in to comment.