code: def test_language_returning():
      config = rasa.shared.utils.io.read_yaml(
          """
      language: "xy"
      recipe: graph.v1
      core_target: doesnt_validate_or_run
      nlu_target: doesnt_validate_or_run
  
      train_schema:
        nodes: {}
      predict_schema:
        nodes: {}
      """
      )
  
      recipe = Recipe.recipe_for_name(GraphV1Recipe.name)
      model_config = recipe.graph_config_for_recipe(config, {})
  
      assert model_config.language == "xy"
  
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 3 for calling a global function with example usage: test_language_returning() without return types