code: def __init__(self, config_path: str) -> None:
      self._config_path: str = config_path
      self._config: Union[List[_MixedDatasetConfig], None] = None
      self._last_m = 0
  
imports: from collections import OrderedDict
  import multiprocessing
  import os
  from queue import Empty
  from typing import Any, Callable, Dict, List, Optional, Set, Tuple, Union
  from typing_extensions import TypedDict
  from ...dataset import DistributedDataset
  from ...tokenizers import CPMBeeTokenizer
  from ...utils.config import load_dataset_config
  import numpy
  import time
  from numpy.typing import NDArray
  import torch
  import bmtrain
  import importlib.machinery
  import importlib.util
  import types
  import random
label_desc: Use image node_id 1 to create a new _MixedDatasetConfigMananger object  with example: obj = _MixedDatasetConfigMananger(config_path)