code: def _domain(domain_yaml_content: Text) -> Domain:
      return Domain.from_yaml(domain_yaml_content)
  
file_path: rasa/tests/integration_tests/core/actions/conftest.py
imports: from typing import Text
  import copy
  import pytest
  from rasa.shared.core.domain import Domain
  from rasa.shared.core.trackers import DialogueStateTracker
label_desc: Use image node_id 2 for calling a global function with example usage: _domain(domain_yaml_content) and returns: Domain