def METHOD_NAME(_, __, event_dict):
    """
    Processor which adds request data to log entries if available in this context.
    """
    if has_request_context():
        event_dict = dict(
            **event_dict,
            request=dict(
                request_id=getattr(request, "request_id", None),
                path=request.path,
                src_ip=request.headers.get("Remote-Addr"),
                user=str(get_jwt_identity()),
            ),
        )
    return event_dict