<commit_before>#!/usr/bin/env python
# -*- coding:utf-8 -*-
#
# Copyright (c) 2013-present SMHI, Swedish Meteorological and Hydrological Institute
# License: MIT License (see LICENSE.txt or http://opensource.org/licenses/mit).

import json

from django.http import HttpResponse, StreamingHttpResponse
from django.shortcuts import render
from django.core import paginator
from app_exportformats import models
from wsgiref.util import FileWrapper
import os

import logging

logger = logging.getLogger(__name__)

EXPORT_FILES_LIST_HEADER = [
        "format",
        "generated_by",
        "datatype",
        "year",
        "status",
        "approved",
        "export_name",
        "export_file_name",
        "generated_datetime",
    ]
<commit_msg>Moving position of column 'generated_by' in exportformat api responses.<commit_after>#!/usr/bin/env python
# -*- coding:utf-8 -*-
#
# Copyright (c) 2013-present SMHI, Swedish Meteorological and Hydrological Institute
# License: MIT License (see LICENSE.txt or http://opensource.org/licenses/mit).

import json

from django.http import HttpResponse, StreamingHttpResponse
from django.shortcuts import render
from django.core import paginator
from app_exportformats import models
from wsgiref.util import FileWrapper
import os

import logging

logger = logging.getLogger(__name__)

EXPORT_FILES_LIST_HEADER = [
        "format",
        "datatype",
        "year",
        "status",
        "approved",
        "export_name",
        "export_file_name",
        "generated_datetime",
        "generated_by",
    ]

{'fraction_non_alphanumeric': 0.09642401021711366, 'fraction_numerical': 0.006385696040868455, 'mean_word_length': 3.4771428571428573, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2235630', 'n_tokens_mistral': 465, 'n_tokens_neox': 441, 'n_words': 124}