fix: attributes= -> assign_attributes