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