def _get_storage_attributes(self, name):
        try:
            (
                model_class_path,
                content_field,
                filename_field,
                mimetype_field,
                filename
            ) = name.split(os.sep)
        except __HOLE__:
            raise NameException('Wrong name format. Should be {}'.format(
                NAME_FORMAT_HINT))
        return {
            'model_class_path': model_class_path,
            'content_field': content_field,
            'filename_field': filename_field,
            'mimetype_field': mimetype_field,
            'filename': filename,
        }
dataset/ETHPy150Open victor-o-silva/db_file_storage/db_file_storage/storage.py/DatabaseFileStorage._get_storage_attributes