

def send_abuse_report(request, obj, message):
    report = AbuseReport(ip_address=request.META.get('REMOTE_ADDR'), message=message)
    if request.user.is_authenticated():
        report.reporter = request.user
    if isinstance(obj, Addon):
        report.addon = obj
    elif isinstance(obj, UserProfile):
        request.user = obj
    report.save()
    report.send()

dataset/ETHPy150Open mozilla/addons-server/src/olympia/abuse/models.py send_abuse_report/VarMisuse@81/97 `report`->`request`