code: def conversation_chain_ids_mock(monkeypatch):
      def mocked_init(self, *args, **kwargs):
          self.conversation_chain_ids = groups
  
      with unittest.mock.patch.object(
          ConversationChainHandler, "__init__", new=mocked_init
      ):
          yield
  
file_path: h2o-llmstudio/tests/src/utils/test_data_utils.py
imports: import os
  import pathlib
  import random
  import unittest
  from unittest.mock import MagicMock
  import pandas
  import pytest
  from llm_studio.app_utils.default_datasets import prepare_default_dataset_causal_language_modeling
  from llm_studio.src.datasets.conversation_chain_handler import ConversationChainHandler
  from llm_studio.src.utils.data_utils import load_train_valid_data
label_desc: Use image node_id 3 for calling a global function with example usage: conversation_chain_ids_mock(monkeypatch) without return types