<commit_before>

class QuoteAdapter:
    def get_quote(self, asset):
        raise NotImplementedError("QuoteAdapter.get_quote: You should subclass this and create an adapter.")

    def get_options(self, underlying_asset=None, expiration_date=None):
        raise NotImplementedError("QuoteAdapter.get_options: You should subclass this and create an adapter.")

    def get_expiration_dates(self, underlying_asset=None):
        raise NotImplementedError("QuoteAdapter.get_expiration_dates: You should subclass this and create an adapter.")
<commit_msg>adding current date to QuoteAdapter<commit_after>import arrow

class QuoteAdapter:

    def __init__(self, current_date=None):
        self.set_current_date(current_date)

    def set_current_date(self, current_date):
        self._current_date = arrow.get(current_date).format('YYYY-MM-DD') if current_date is not None else None

    def get_current_date(self):
        return self._current_date if self._current_date else None

    @property
    def current_date(self):
        return self.get_current_date()

    def get_quote(self, asset):
        raise NotImplementedError("QuoteAdapter.get_quote: You should subclass this and create an adapter.")

    def get_options(self, underlying_asset=None, expiration_date=None):
        raise NotImplementedError("QuoteAdapter.get_options: You should subclass this and create an adapter.")

    def get_expiration_dates(self, underlying_asset=None):
        raise NotImplementedError("QuoteAdapter.get_expiration_dates: You should subclass this and create an adapter.")

{'fraction_non_alphanumeric': 0.07511139401654997, 'fraction_numerical': 0.0, 'mean_word_length': 4.654676258992806, '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': '4322101', 'n_tokens_mistral': 442, 'n_tokens_neox': 418, 'n_words': 120}