<commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from platform import platform

import requests

from .access_methods import AccessMethodsMixin
from .compat import json, string_type
from .decorators import objectify
from .exceptions import (
    IllegalHttpMethod,
    InvalidWebhook
)
from . import __version__
from .utils import (
    format_path,
    construct_namespaced_dict,
    get_webhook_from_request,
    EVENTBRITE_API_URL
)


class Eventbrite(AccessMethodsMixin):

    allowed_methods = ['post', 'get', 'delete']
    content_type_specified = True

    def __init__(self, oauth_token, eventbrite_api_url=EVENTBRITE_API_URL):
        self.oauth_token = oauth_token
        self.eventbrite_api_url = EVENTBRITE_API_URL

    @property
    def headers(self):<commit_msg>Set ivar using input argument<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals
from platform import platform

import requests

from .access_methods import AccessMethodsMixin
from .compat import json, string_type
from .decorators import objectify
from .exceptions import (
    IllegalHttpMethod,
    InvalidWebhook
)
from . import __version__
from .utils import (
    format_path,
    construct_namespaced_dict,
    get_webhook_from_request,
    EVENTBRITE_API_URL
)


class Eventbrite(AccessMethodsMixin):

    allowed_methods = ['post', 'get', 'delete']
    content_type_specified = True

    def __init__(self, oauth_token, eventbrite_api_url=EVENTBRITE_API_URL):
        self.oauth_token = oauth_token
        self.eventbrite_api_url = eventbrite_api_url

    @property
    def headers(self):
{'fraction_non_alphanumeric': 0.0687116564417178, 'fraction_numerical': 0.001226993865030675, 'mean_word_length': 4.3475409836065575, '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': '3907524', 'n_tokens_mistral': 506, 'n_tokens_neox': 493, 'n_words': 123}