<commit_before>import os
from datetime import datetime
from utils import saves_args


class ResourceException(Exception):
	pass


class Resource(object):


	@saves_args
	def __init__(self, **kwargs):
		self.resolve_static(**kwargs)
		self.resolve_inherited(**kwargs)
<commit_msg>alter resource to catch until param passed into constructor<commit_after>import os
from datetime import datetime
from utils import saves_args


class ResourceException(Exception):
	pass


class Resource(object):


	@saves_args
	def __init__(self, **kwargs):
		self.resolve_static(**kwargs)
		self.resolve_inherited(**kwargs)
		self.until = kwargs.get('until', None)

{'fraction_non_alphanumeric': 0.09302325581395349, 'fraction_numerical': 0.0, 'mean_word_length': 6.258426966292135, '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': '2056551', 'n_tokens_mistral': 200, 'n_tokens_neox': 185, 'n_words': 53}