<commit_before># Smoketest the api

from ..api import find
from ..api import find_event
from ..api import find_event_descriptor
from ..api import find_beamline_config
from ..api import find_run_start
from ..api import find_last
from ..api import find_event_given_descriptor
from ..api import fetch_events
from ..api import insert_event
from ..api import insert_event_descriptor
from ..api import insert_run_start
from ..api import insert_beamline_config
from ..api import insert_run_stop
from ..api import EventDescriptorIsNoneError
from ..api import format_events
from ..api import format_data_keys
from ..api import Document<commit_msg>WIP: Updated test_api.py wrt changes to api<commit_after># Smoketest the api

# from ..api import find
from ..api import find_event
from ..api import find_event_descriptor
from ..api import find_beamline_config
from ..api import find_run_start
from ..api import find_last
# from ..api import find_event_given_descriptor
# from ..api import fetch_events
from ..api import insert_event
from ..api import insert_event_descriptor
from ..api import insert_run_start
from ..api import insert_beamline_config
from ..api import insert_run_stop
from ..api import EventDescriptorIsNoneError
from ..api import format_events
from ..api import format_data_keys
from ..api import Document
{'fraction_non_alphanumeric': 0.06173780487804878, 'fraction_numerical': 0.0, 'mean_word_length': 4.887892376681615, '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': '337819', 'n_tokens_mistral': 367, 'n_tokens_neox': 359, 'n_words': 149}