We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7b36f8 commit 6dd5f2bCopy full SHA for 6dd5f2b
gcloud/datastore/key.py
@@ -197,7 +197,7 @@ def path(self, path=None):
197
198
:type path: sequence of dicts
199
:param path: Each dict must have keys 'kind' (a string) and optionally
200
- 'name' (a string) or 'id' (an integer).
+ 'name' (a string) or 'id' (an integer).
201
202
:rtype: :class:`Key` (for setter); or :class:`str` (for getter)
203
:returns: a new key, cloned from self., with the given path (setter);
@@ -266,7 +266,7 @@ def id_or_name(self):
266
267
:rtype: :class:`int` (if 'id' is set); or :class:`str` (the 'name')
268
:returns: True if the last element of the key's path has either an 'id'
269
- or a 'name'.
+ or a 'name'.
270
"""
271
return self.id() or self.name()
272
0 commit comments