code: def associate_variables_and_data(source) -> dict:
      data_dict = {}
      for v, data in zip(source.variables, source.next()):
          data_dict[v] = data
      return data_dict
  
file_path: nnabla/python/test/utils/test_create_cache.py
imports: from __future__ import absolute_import
  import os
  import csv
  import pytest
  import tempfile
  from shutil import rmtree
  from contextlib import contextmanager, closing
  from nnabla.config import nnabla_config
  from nnabla.utils.create_cache import CreateCache
  from nnabla.utils.data_source_implements import CacheDataSource, CsvDataSource
  from nnabla.testing import assert_allclose
  from .conftest import test_data_csv_csv_20, test_data_csv_png_20
label_desc: Use image node_id 2 for calling a global function with example usage: associate_variables_and_data(source) and returns: data_dict