How can I assign a new class attribute via __dict__ in python?,"setattr(test, attr_name, 10)"