<commit_before>
# It must be possible to import this file with 
# none of the package's dependencies installed

__version__ = "1.0.1"

session = None
def configure_views(scoped_session):
    global session
    session = scoped_session()<commit_msg>configure_views() will now accept an instantiated session<commit_after>
# It must be possible to import this file with 
# none of the package's dependencies installed

__version__ = "1.0.1"

session = None
def configure_views(session_):
    global session
    if callable(session_):
        session = session_()
    else:
        session = session_
{'fraction_non_alphanumeric': 0.07214765100671142, 'fraction_numerical': 0.010067114093959731, 'mean_word_length': 4.016806722689076, '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': '6580605', 'n_tokens_mistral': 171, 'n_tokens_neox': 167, 'n_words': 62}