Skip to content

Commit

Permalink
Review Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chemelnucfin committed Jan 3, 2018
1 parent ffc01ce commit 7758dbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion firestore/google/cloud/firestore_v1beta1/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def write_option(**kwargs):
:meth:`~.DocumentReference.update` and
:meth:`~.DocumentReference.delete`.
One of the following two keyword arguments must be provided:
One of the following keyword arguments must be provided:
* ``last_update_time`` (:class:`google.protobuf.timestamp_pb2.\
Timestamp`): A timestamp. When set, the target document must exist
Expand Down
2 changes: 1 addition & 1 deletion firestore/tests/unit/test__helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ def _helper(self, option=None, do_transform=False, **write_kwargs):
'yum': _value_pb(bytes_value=value),
})
if isinstance(option, ExistsOption):
write_kwargs = {'current_document' : {'exists': option._exists}}
write_kwargs.update({'current_document' : {'exists': option._exists}})

expected_update_pb = write_pb2.Write(
update=document_pb2.Document(
Expand Down

0 comments on commit 7758dbe

Please sign in to comment.