<commit_before># -*- coding: utf-8 -*-

from openerp import models, fields, api


class instance_host(models.Model):
    """"""
    #TODO name should be readonly but it does not save the value, for now we keep it writable

    _name = 'infrastructure.instance_host'
    _description = 'instance_host'


    server_hostname_id = fields.Many2one(
        'infrastructure.server_hostname',
        string='Server Hostname',
        required=True
    )

    subdomain = fields.Char(
        string='Subdomain'
    )

    database_type_id = fields.Many2one(
        'infrastructure.database_type',
        string='Database Type'<commit_msg>[FIX] Minor changes<commit_after># -*- coding: utf-8 -*-

from openerp import models, fields, api


class instance_host(models.Model):
    """"""
    # TODO name should be readonly but it does not save the value
    # , for now we keep it writable

    _name = 'infrastructure.instance_host'
    _description = 'instance_host'

    server_hostname_id = fields.Many2one(
        'infrastructure.server_hostname',
        string='Server Hostname',
        required=True
    )

    subdomain = fields.Char(
        string='Subdomain'
    )

    database_type_id = fields.Many2one(
        'infrastructure.database_type',
        string='Database Type'
{'fraction_non_alphanumeric': 0.10054559625876851, 'fraction_numerical': 0.004676539360872954, 'mean_word_length': 2.9027355623100304, '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': '5978423', 'n_tokens_mistral': 378, 'n_tokens_neox': 369, 'n_words': 95}