(data)
update profile description
update profile description
update profile description
def on_set_profile_description(data):
    ''' update profile description '''
    profile_description = data['profile_description']
    last_profile = LastProfile.query.get(1)
    profile = Profiles.query.filter_by(id=last_profile.profile_id).first()
    profile.description = profile_description
    DB.session.commit()
    server_log('set profile description %s for profile %s' %
               (profile_name, profile.name))
    emit_node_tuning()
def on_set_profile_description ( data ) : profile_description = data [ 'profile_description' ] last_profile = LastProfile . query . get ( 1 ) profile = Profiles . query . filter_by ( id = last_profile . profile_id ) . first ( ) profile . description = profile_description DB . session . commit ( ) server_log ( 'set profile description %s for profile %s' % ( profile_name , profile . name ) ) emit_node_tuning ( )