code: def test_cyclic_imports(tmp_path: Path):
      project_imports = {"imports": ["Project A"]}
      utils.dump_obj_as_yaml_to_file(
          tmp_path / "config.yml", project_imports
      )
  
      project_a_directory = tmp_path / "Project A"
      project_a_directory.mkdir()
      project_a_imports = {"imports": ["../Project B"]}
      utils.dump_obj_as_yaml_to_file(
          project_a_directory / "config.yml", project_a_imports
      )
  
      project_b_directory = tmp_path / "Project B"
      project_b_directory.mkdir()
      project_b_imports = {"imports": ["../Project A"]}
      utils.dump_obj_as_yaml_to_file(
          project_b_directory / "config.yml", project_b_imports
      )
  
      actual = MultiProjectImporter(str(tmp_path / "config.yml"))
  
      assert actual._imports == [
          str(project_a_directory),
          str(project_b_directory),
      ]
  
imports: from pathlib import Path
  from typing import Dict, Text
  from _pytest.tmpdir import TempPathFactory
  import pytest
  import os
  from rasa.engine.storage.local_model_storage import LocalModelStorage
  from rasa.engine.storage.resource import Resource
  import rasa.shared.utils.io
  from rasa.shared.nlu.training_data.formats import RasaYAMLReader
  import rasa.utils.io
  from rasa.core import utils
  from rasa.shared.importers.multi_project import MultiProjectImporter
label_desc: Use image node_id 7 for calling a global function with example usage: test_cyclic_imports(tmp_path) without return types