<commit_before>from rest_base import RestBase
import xml.etree.ElementTree


class GWSClient(RestBase):
    URL_BASE = '/group_sws/v2/group'
    QTRS = {'win': 'winter', 'spr': 'spring', 'sum': 'summer', 'aut': 'autumn'}

    def __init__(self, cfg):
        self._cfg = {
            'host': settings.GWS_HOST,
            'port': settings.GWS_PORT,
            'cert': settings.GWS_CERT,
            'key': settings.GWS_KEY,
            'timeout': settings.GWS_TIMEOUT,
            'log': settings.GWS_LOG,
            'logname': __name__
        }<commit_msg>fix args<commit_after>from rest_base import RestBase
import xml.etree.ElementTree


class GWSClient(RestBase):
    URL_BASE = '/group_sws/v2/group'
    QTRS = {'win': 'winter', 'spr': 'spring', 'sum': 'summer', 'aut': 'autumn'}

    def __init__(self):
        self._cfg = {
            'host': settings.GWS_HOST,
            'port': settings.GWS_PORT,
            'cert': settings.GWS_CERT,
            'key': settings.GWS_KEY,
            'timeout': settings.GWS_TIMEOUT,
            'log': settings.GWS_LOG,
            'logname': __name__
        }
{'fraction_non_alphanumeric': 0.144524236983842, 'fraction_numerical': 0.0017953321364452424, 'mean_word_length': 2.308605341246291, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2941551', 'n_tokens_mistral': 376, 'n_tokens_neox': 372, 'n_words': 74}