def resolve_processing_issue(project, scope, object=None, type=None):
    """Given a project, scope and object (and optionally a type) this marks
    affected processing issues are resolved and kicks off a task to move
    events back to reprocessing.
    """
    if object is None:
        object = '*'
    from sentry.models import ProcessingIssue
    ProcessingIssue.objects.resolve_processing_issue(project=project, scope
        =scope, object=object, type=type)
