def METHOD_NAME(**kwargs):
    assignment = kwargs.get('editor_assignment')
    article = assignment.article
    task_dict = {
        'object': article,
        'title': SELECT_REVIEWERS_TITLE,
        'description': 'You have been assigned as an article editor. Please initiate the review process.',
        'link': reverse('review_in_review', kwargs={'article_id': article.id}),
        'due': article.date_submitted
    }
    task = models.Task.objects.create(**task_dict)
    # add teardown events
    # when the article is rejected
    on_article_declined, created = models.TaskCompleteEvents.objects.get_or_create(
        event_name=event_logic.Events.ON_ARTICLE_DECLINED)
    task.complete_events.add(on_article_declined.pk)
    # when the article is accepted
    on_article_accepted, created = models.TaskCompleteEvents.objects.get_or_create(
        event_name=event_logic.Events.ON_ARTICLE_ACCEPTED)
    task.complete_events.add(on_article_accepted.pk)
    all_editors = models.AccountRole.objects.filter(role__slug='editor')
    for editor in all_editors:
        task.assignees.add(editor.user)
    task.save()