def set_candidate(self, user):
        related_user, __ = self.assignment_related_users.update_or_create(
            user=user,
            defaults={'elected': False})
format results of actions
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/assignments/models.py/Assignment.set_candidate--crossover with--dataset/ETHPy150Open OrbitzWorldwide/droned/droned/lib/droned/models/server.py/DroneServer.formatResults