Exemple #1
0
 def get_data(self):
     params = dict(row_renderer=self.row_renderer,
                   start_row=self.start_row,
                   row_limit=self.row_limit)
     if self.skip_row_func is not None:
         params['skip_row_func'] = self.skip_row_func
     data = from_query_sets(self.column_names, self.query_sets, **params)
     return {self.sheet_name: data}
Exemple #2
0
 def get_data(self):
     return {
         self.sheet_name: from_query_sets(self.column_names,
                                          self.query_sets)
     }
Exemple #3
0
 def get_data(self):
     return {self.sheet_name:
             from_query_sets(self.column_names, self.query_sets)}