@classmethod
  def _allocate_ids(cls, size=None, max=None, parent=None, **ctx_options):
    return cls._allocate_ids_async(size=size, max=max, parent=parent,
                                   **ctx_options).get_result()
Allocates a range of key IDs for this model class.
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/Model._allocate_ids