Datastore: expose 'reserveIds' at top level. #7111
Labels
api: datastore
Issues related to the Datastore API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Environment details
Steps to reproduce
The
Client
object doesn't expose thereserve_ids
function (for preventing keys being accidentally reused by the auto-allocator), it does however expose the relatedallocate_ids
(https://github.com/googleapis/google-cloud-python/blob/master/datastore/google/cloud/datastore/client.py#L487)It would be great if this could be added, in the meantime I'm planning to use the private
Client._datastore_api.reserve_ids
method directly.The text was updated successfully, but these errors were encountered: