code: def paginated_retrieval(methodname, itemtype):
      
      return compose(
          reusable,
          basic_interaction,
          map_yield(partial(_params_as_get, methodname)),
      )
docs: decorator factory for retrieval queries from query params