code: def get_simple_multimodal_data(task_type, data_type):
      data = MultiModalData()
      for i in range(2):
          type_name = (
              "ts"
              if data_type is DataTypesEnum.multi_ts
              else data_type.name
          )
          data[f"data_source_{type_name}/{i}"] = get_data_for_testing(
              task_type=task_type,
              data_type=data_type,
              length=200,
              features_count=2,
          )
      return data
  
file_path: FEDOT/test/integration/multimodal/test_multimodal.py
imports: import pytest
  from examples.advanced.multi_modal_pipeline import prepare_multi_modal_data
  from fedot.core.data.multi_modal import MultiModalData
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.pipeline_builder import PipelineBuilder
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from fedot.core.utils import fedot_project_root
  from test.integration.models.test_model import get_data_for_testing
label_desc: Use image node_id 2 for calling a global function with example usage: get_simple_multimodal_data(task_type, data_type) and returns: data