File tree Expand file tree Collapse file tree
packages/google-cloud-datastore/google/cloud/datastore Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ def __ne__(self, other):
105105 def __hash__ (self ):
106106 """Hash a keys for use in a dictionary lookp.
107107
108- :rtype: integer
108+ :rtype: int
109109 :returns: a hash of the key's state.
110110 """
111111 return (hash (self .flat_path ) +
@@ -307,7 +307,7 @@ def kind(self):
307307 def id (self ):
308308 """ID getter. Based on the last element of path.
309309
310- :rtype: integer
310+ :rtype: int
311311 :returns: The (integer) ID of the key.
312312 """
313313 return self .path [- 1 ].get ('id' )
@@ -325,7 +325,7 @@ def name(self):
325325 def id_or_name (self ):
326326 """Getter. Based on the last element of path.
327327
328- :rtype: integer (if ``id``) or string (if ``name``)
328+ :rtype: int (if ``id``) or string (if ``name``)
329329 :returns: The last element of the key's path if it is either an ``id``
330330 or a ``name``.
331331 """
You can’t perform that action at this time.
0 commit comments