def METHOD_NAME(
    queue: str = 'funnel', **rqargs
) -> Callable[[Callable[P, T_co]], RqJobProtocol[P, T_co]]:
    """Decorate an RQ job with app context."""
    def decorator(f: Callable[P, T_co]) -> RqJobProtocol[P, T_co]:
        @wraps(f)
        def wrapper(*args: P.args, **kwargs: P.kwargs) -> T_co:
            with app_context():
                return f(*args, **kwargs)
        return rq.job(queue, **rqargs)(wrapper)
    return decorator