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

from . import resource


class Contracts(resource.EffiPeopleResource):
    """Permite gestionar los contratos de los clientes de la compañía.
    """
    path = 'contracts'<commit_msg>Implementing versions of contracts<commit_after># -*- coding: utf-8 -*-
from libsaas.services import base

from . import resource


class ContractsVersions(resource.EffiPeopleResource):
    """Permite gestionar las versions de los contratos.
    """
    path = 'versions'


class Contracts(resource.EffiPeopleResource):
    """Permite gestionar los contratos de los clientes de la compañía.
    """
    path = 'contracts'

    @base.resource(ContractsVersions)
    def version(self, object_id):
        return ContractsVersions(self, object_id)

    @base.resource(ContractsVersions)
    def versions(self):
        return ContractsVersions(self)
{'fraction_non_alphanumeric': 0.10229885057471265, 'fraction_numerical': 0.0022988505747126436, 'mean_word_length': 3.838888888888889, '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': '1261165', 'n_tokens_mistral': 262, 'n_tokens_neox': 257, 'n_words': 69}