Skip to content

Commit 038937a

Browse files
committed
Clarified docstring
1 parent 9caad04 commit 038937a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

google/cloud/bigtable/row.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,9 @@ def delete_cells(self, column_family_id, columns, time_range=None):
445445
def commit(self):
446446
"""Makes a ``MutateRow`` API request.
447447
448-
If no mutations have been created in the row, no request is made.
448+
If no mutations have been created in the row, no request is made and a
449+
:class:`~google.rpc.status_pb2.Status` with code INVALID_ARGUMENT is returned
450+
instead.
449451
450452
Mutations are applied atomically and in order, meaning that earlier
451453
mutations can be masked / negated by later ones. Cells already present

0 commit comments

Comments
 (0)