Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update docstring for 'Connection.save_entity'.
Indicate that upsert clears existing properties before applying those
passed to the API.

Fixes #167.
  • Loading branch information
tseaver committed Oct 17, 2014
commit ef535364d257714fe37b1cb8e1e0ef278493cc18
4 changes: 4 additions & 0 deletions gcloud/datastore/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,10 @@ def commit(self, dataset_id, mutation_pb):
def save_entity(self, dataset_id, key_pb, properties):
"""Save an entity to the Cloud Datastore with the provided properties.

.. note::
Any existing properties for the entity will be cleared before
applying those passed in 'properties'.

This comment was marked as spam.

This comment was marked as spam.


:type dataset_id: string
:param dataset_id: The dataset in which to save the entity.

Expand Down