Python Dynamic Add Attribute To Object