parameters: (self, public_read, public_edit)
docstring: update privilege
          :param public_read: all user could view and download this data
          :param public_edit: all user could label this data
          :return:
docstring_summary: update privilege
          :param public_read: all user could view and download this data
          :param public_edit: all user could label this data
          :return:
docstring_tokens: update privilege : param public_read : all user could view and download this data : param public_edit : all user could label this data : return :
function: def update_privilege(self, public_read, public_edit):
          """
          update privilege
          :param public_read: all user could view and download this data
          :param public_edit: all user could label this data
          :return:
          """
          DataAbstract.query.filter_by(id=self.get_id()).update({
              DataAbstract.public_read: public_read,
              DataAbstract.public_edit: public_edit
          })
          db.session.commit()
function_tokens: def update_privilege ( self , public_read , public_edit ) : DataAbstract . query . filter_by ( id = self . get_id ( ) ) . update ( { DataAbstract . public_read : public_read , DataAbstract . public_edit : public_edit } ) db . session . commit ( )