I have two classes. They're almost identical, except for 2 attributes. I need to copy all the attributes over from one to the other, and I'm just wondering if there is a pattern or best practice, or if I should just basically do:
spam.attribute_one = foo.attribute_one
spam.attribute_two = foo.attribute_two
... and so on.