<commit_before>from apistar import types, validators


class RouteWithoutSource(types.Type):
    target = validators.String()
    settings = validators.Object(
        properties={
            'enforce_https': validators.Boolean(default=False),
        },
        default={
            'enforce_https': False,
        },
    )


class Route(RouteWithoutSource):
    source = validators.String()
    target = validators.String()
    settings = validators.Object(
        properties={
            'enforce_https': validators.Boolean(default=False),
        },
        default={
            'enforce_https': False,
        },
    )<commit_msg>Fix type<commit_after>from apistar import types, validators


class RouteWithoutSource(types.Type):
    target = validators.String()
    settings = validators.Object(
        properties={
            'enforce_https': validators.Boolean(default=False),
        },
        default={
            'enforce_https': False,
        },
    )


class Route(types.Type):
    source = validators.String()
    target = validators.String()
    settings = validators.Object(
        properties={
            'enforce_https': validators.Boolean(default=False),
        },
        default={
            'enforce_https': False,
        },
    )
{'fraction_non_alphanumeric': 0.11286503551696922, 'fraction_numerical': 0.0, 'mean_word_length': 2.2596401028277633, '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': '6673580', 'n_tokens_mistral': 346, 'n_tokens_neox': 338, 'n_words': 63}