def run(self):
    query_run = self._proto_query.Run(*self._args, **self._kwds)
    if self._keys_only:
      return query_run
    else:
      return _QueryIterator(self._model_class, iter(query_run))
Override _BaseQuery.run() so the LIMIT clause is handled properly.
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/db/__init__.py/GqlQuery.run