Skip to content

Commit 84cfb0a

Browse files
authored
docs: explain mutate vs mutate_rows (#543)
Thanks to Bora for spotting this!
1 parent efabba0 commit 84cfb0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/bigtable/batcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class MutationsBatcher(object):
3333
request.
3434
3535
This class is not suited for usage in systems where each mutation
36-
needs to guaranteed to be sent, since calling mutate may only result in an
36+
must be guaranteed to be sent, since calling mutate may only result in an
3737
in-memory change. In a case of a system crash, any DirectRows remaining in
3838
memory will not necessarily be sent to the service, even after the
3939
completion of the mutate() method.
@@ -105,7 +105,7 @@ def mutate(self, row):
105105
self.flush()
106106

107107
def mutate_rows(self, rows):
108-
"""Add a row to the batch. If the current batch meets one of the size
108+
"""Add multiple rows to the batch. If the current batch meets one of the size
109109
limits, the batch is sent synchronously.
110110
111111
For example:

0 commit comments

Comments
 (0)