def _get_values(self, lst, list_columns):
        """
        Get Values: formats values for list template.
        returns [{'col_name':'col_value',....},{'col_name':'col_value',....}]

        :param lst:
            The list of item objects from query
        :param list_columns:
            The list of columns to include
        """
        retlst = []
        for item in lst:
            retdict = {}
            for col in list_columns:
                retdict[col] = self._get_attr_value(item, col)
            retlst.append(retdict)
        return retlst

        Get Values: formats values for list template.
        returns [{'col_name':'col_value',....},{'col_name':'col_value',....}]

        :param lst:
            The list of item objects from query
        :param list_columns:
            The list of columns to include
        
flask_appbuilder/models/base.py