<commit_before>#!/usr/bin/env python
# encoding: utf-8

from collections import namedtuple


App = namedtuple('App', 'db')
Response = namedtuple('Response', 'headers, payload, status')


class Request(dict):<commit_msg>testing - replace App to allow flexibility of assigned objects<commit_after>#!/usr/bin/env python
# encoding: utf-8

from collections import namedtuple


Response = namedtuple('Response', 'headers, payload, status')


class App(object):
    def __init__(self, db=None, **kwargs):
        self.db = db


class Request(dict):
{'fraction_non_alphanumeric': 0.12915129151291513, 'fraction_numerical': 0.0036900369003690036, 'mean_word_length': 5.101123595505618, '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': '2980229', 'n_tokens_mistral': 163, 'n_tokens_neox': 155, 'n_words': 48}