@classmethod<EOL><INDENT>def reassign(cls, args):<DEDENT>
def internal_method(object_class, ids, current_objects):<EOL><INDENT>"""<STR_LIT>"""<EOL>nb_affected_objects = <NUM_LIT:0><EOL>final_objects = []<EOL>if ids:<EOL><INDENT>for id in ids:<EOL><INDENT>nb_affected_objects = nb_affected_objects + <NUM_LIT:1><EOL>obj = object_class(id=id)<EOL>final_objects.append(obj)<EOL><DEDENT><DEDENT>return (final_objects, nb_affected_objects)<EOL><DEDENT>Printer.success('<STR_LIT>' % cls._internal_assign(args, method=internal_method))<EOL>
Change all assignations
            Previous assignations will be removed