Example #1
0
 def _get_rowval(cls, report_slug, row):
     # convert the row to a report display value
     col_slug = row["key"][3]
     return NumericalDisplayValue(
         row["value"],
         col_slug,
         const.is_hidden(report_slug, col_slug),
         const.get_display_name(report_slug, col_slug),
         const.get_description(report_slug, col_slug),
     )