def set_num_instances(self, server, version, instances):
    if server not in self._server_name_to_versions:
      raise ServerDoesNotExistError()
    if version not in self._server_name_to_versions[server]:
      raise VersionDoesNotExistError()

    raise NotSupportedWithAutoScalingError()
Add an existing node or relationship to an index.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/request_info.py/_LocalFakeDispatcher.set_num_instances--crossover with--dataset/ETHPy150Open nigelsmall/py2neo/py2neo/ext/batman/batch.py/ManualIndexWriteBatch.add_to_index