docs: def get_query_kwargs(**kwargs):
      """Construct page and page size kwargs (if present)."""
      query_kwargs = {}
  
      query = kwargs.pop("query")
      if query:
          query_kwargs["query"] = query
  
      return query_kwargs