Skip to content

Commit

Permalink
Correct indication of complete key from "partial"
Browse files Browse the repository at this point in the history
Reserve_ids indicates complete_key in its typespec and in its type-checking, but says "Partial" in the description after the typespec. I also believe "use as a base for reserved IDs" is ambiguous, but I'm not familiar enough with the underlying API to know a better description since I'm not 100% sure on the behavior is supposed to be.
  • Loading branch information
aawilson committed Jun 12, 2020
1 parent 0198419 commit 1277205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/datastore/client.py
Expand Up @@ -667,7 +667,7 @@ def reserve_ids(self, complete_key, num_ids):
"""Reserve a list of IDs from a complete key.
:type complete_key: :class:`google.cloud.datastore.key.Key`
:param complete_key: Partial key to use as base for reserved IDs.
:param complete_key: Complete key to use as base for reserved IDs.
:type num_ids: int
:param num_ids: The number of IDs to reserve.
Expand Down

0 comments on commit 1277205

Please sign in to comment.