class_docstr: Returned by :meth:`.Query.paginate`. Takes a ``query`` argument in addition to
  the :class:`Pagination` arguments.
  
  .. versionadded:: 3.0
code: def _query_items(self) -> list[t.Any]:
      query = self._query_args["query"]
      out = query.limit(self.per_page).offset(self._query_offset).all()
      return out
  
imports: from __future__ import annotations
  import typing
  from math import ceil
  import sqlalchemy
  import sqlalchemy.orm
  from flask import abort
  from flask import request
label_desc: Use image node_id 1 for calling the QueryPagination obj's underlying member method code with example usage: obj._query_items() and returns: out