The `models.Session.allocate_ids` method in Python allows the allocation of numerical IDs for datastore entities. This method generates a range of unique and unused IDs for a specific kind of entity, which can then be assigned to new entities during their creation. The allocated IDs ensure that each entity has a distinct identifier within the datastore.
Python Session.allocate_ids - 55 examples found. These are the top rated real world Python examples of models.Session.allocate_ids extracted from open source projects. You can rate examples to help us improve the quality of examples.