def set_enrollment_attributes(user_id, course_id, attributes):
 _data_api().add_or_update_enrollment_attr(user_id, course_id, attributes)

def set_enrollment_attributes ( user_id , course_id , attributes ) : _data_api ( ) . add_or_update_enrollment_attr ( user_id , course_id , attributes )
set enrollment attributes for the enrollment of given user in the course provided .