def _deserialize(str_, outer_sep=';', inner_sep=':'):
    out = {}
    for mapping in str_.split(outer_sep):
        k, v = mapping.split(inner_sep, 1)
        vv = json.loads(v)
        out[k] = vv if not isinstance(vv, text_type) else str(vv)

    return out
Creates django.code.files.File object and returns it, uses self.filename
dataset/ETHPy150Open mne-tools/mne-python/mne/preprocessing/ica.py/_deserialize--crossover with--dataset/ETHPy150Open divio/cmsplugin-filer/cmsplugin_filer_tests_shared/base.py/CmsPluginsFilerBaseTestCase.get_django_file_object