Skip to content

Commit 961e695

Browse files
committed
Clarify docstring for 'Entity._must_key'.
Incorporates feedback from @dhermes.
1 parent 64c711e commit 961e695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcloud/datastore/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def from_protobuf(cls, pb, dataset=None): # pylint: disable=invalid-name
168168

169169
@property
170170
def _must_key(self):
171-
"""Return our key.
171+
"""Return our key, or raise NoKey if not set.
172172
173173
:rtype: :class:`gcloud.datastore.key.Key`.
174174
:returns: our key

0 commit comments

Comments
 (0)