Allocates a range of IDs in the datastore such that those IDs will not
be automatically assigned to new entities. You can only allocate IDs
for model keys from your app. If there is an error, raises a subclass of
datastore_errors.Error.
Args
model
Model instance, Key or string to serve as a template specifying the
ID sequence in which to allocate IDs. Returned ids should only be used
in entities with the same parent (if any) and kind as this key.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-09-30 UTC."],[[["Allocates a range of IDs in the datastore to prevent them from being automatically assigned to new entities."],["The `model` parameter specifies the `ID` sequence template for allocating IDs, and the returned IDs should only be used for entities with the same parent and kind."],["The `size` parameter determines how many IDs will be allocated in the range."],["It will return a tuple that defines the start and end of the allocated ID range."],["It may raise a subclass of `datastore_errors.Error` if any issues occur during allocation."]]],[]]