parameters: (self, id_entity)
docstring: This method is responsible for retrieving an SVM entity title, from the
          SQL database, using a fixed 'id_entity'.
  
          @id_entity, this supplied argument corresponds to the 'id_entity'
              column from the 'tbl_dataset_value' database table.
  
          @sql_statement, is a sql format string, and not a python string.
              Therefore, '%s' is used for argument substitution.
function: def get_title(self, id_entity):
          '''
  
          This method is responsible for retrieving an SVM entity title, from the
          SQL database, using a fixed 'id_entity'.
  
          @id_entity, this supplied argument corresponds to the 'id_entity'
              column from the 'tbl_dataset_value' database table.
  
          @sql_statement, is a sql format string, and not a python string.
              Therefore, '%s' is used for argument substitution.
  
          '''
  
          # select dataset
          self.sql.connect(self.db_ml)
          sql_statement = 'SELECT title '\
              'FROM tbl_dataset_entity '\
              'WHERE id_entity=%s'
          args = (id_entity)
          response = self.sql.execute('select', sql_statement, args)
  
          # retrieve any error(s)
          response_error = self.sql.get_errors()
  
          # return result
          if response_error:
              return {'error': response_error, 'result': None}
          else:
              return {'error': None, 'result': response['result']}
function_tokens: def get_title ( self , id_entity ) : # select dataset self . sql . connect ( self . db_ml ) sql_statement = 'SELECT title ' 'FROM tbl_dataset_entity ' 'WHERE id_entity=%s' args = ( id_entity ) response = self . sql . execute ( 'select' , sql_statement , args ) # retrieve any error(s) response_error = self . sql . get_errors ( ) # return result if response_error : return { 'error' : response_error , 'result' : None } else : return { 'error' : None , 'result' : response [ 'result' ] }