def _AddUnfinishedRanges(self, thread_pool, batch_size):
    assert self.download_result is not None
    if self.download_result.continued:
      self._SplitAndAddRanges(thread_pool, batch_size)
    else:
      raise KeyRangeError('No unfinished part of key range.')
Adds incomplete KeyRanges to the thread_pool.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/bulkloader.py/KeyRangeItem._AddUnfinishedRanges