code: def test_graph_config_for_recipe_with_assistant_id(assistant_id):
      config = rasa.shared.utils.io.read_model_configuration(
          "data/test_config/graph_config_short.yml"
      )
      config[ASSISTANT_ID_KEY] = assistant_id
  
      recipe = Recipe.recipe_for_name(GraphV1Recipe.name)
      model_config = recipe.graph_config_for_recipe(config, {})
  
      assert model_config.assistant_id == assistant_id
  
file_path: rasa/tests/engine/recipes/test_graph_recipe.py
imports: from typing import Text
  import pytest
  from pathlib import Path
  import rasa.shared.utils.io
  from rasa.engine.exceptions import GraphSchemaException
  from rasa.engine.graph import GraphSchema
  from rasa.engine.recipes.graph_recipe import GraphV1Recipe
  from rasa.engine.recipes.recipe import Recipe
  from rasa.shared.constants import ASSISTANT_ID_KEY
  from rasa.shared.data import TrainingType
  import rasa.engine.validation
label_desc: Use image node_id 7 for calling a global function with example usage: test_graph_config_for_recipe_with_assistant_id(assistant_id) without return types