def row(record: QuerySet) -> List[Any]:
    return [record.query, record.client.name, record.count, format_date_for_activity_reports(record.last_visit)]
def row(record: QuerySet) -> List[Any]:
    return [record.query, record.client.name, record.count, format_date_for_activity_reports(record.last_visit)]