<commit_before>"""A contents manager that combine multiple content managers."""

# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.

from IPython.html.services.contents.manager import ContentsManager
from IPython.utils.traitlets import List
from IPython.utils.importstring import import_item

def _split_path(path):
    """split a path return by the api<commit_msg>Fix imports to work with mixed content manager<commit_after>"""A contents manager that combine multiple content managers."""

# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.

try:
    from jupyter_notebook.services.contents.manager import ContentsManager
    from traitlets.traitlets import List
    from traitlets import import_item
except ImportError:
    from IPython.html.services.contents.manager import ContentsManager
    from IPython.utils.traitlets import List
    from IPython.utils.importstring import import_item

def _split_path(path):
    """split a path return by the api
{'fraction_non_alphanumeric': 0.06261859582542695, 'fraction_numerical': 0.0, 'mean_word_length': 5.0285714285714285, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3372397', 'n_tokens_mistral': 276, 'n_tokens_neox': 271, 'n_words': 107}