Skip to content

Commit

Permalink
Doctring: add ':raises:' for 'Client.put_multi'.
Browse files Browse the repository at this point in the history
Addresses:
#963 (comment)
  • Loading branch information
tseaver committed Jul 3, 2015
1 parent f4f7c90 commit 3fc9223
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gcloud/datastore/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ def put_multi(self, entities):
:type entities: list of :class:`gcloud.datastore.entity.Entity`
:param entities: The entities to be saved to the datastore.
:raises: ValueError if ``entities`` is a single entity.
"""
if isinstance(entities, Entity):
raise ValueError("Pass a sequence of entities")
Expand Down

0 comments on commit 3fc9223

Please sign in to comment.