code: def __init__(self, config: Union[str, Dict[str, Any]]) -> None:
      # Strategically only import devcluster on demand to avoid having it as a hard dependency.
      from devcluster import Devcluster  # noqa: I2000
  
      self.dc = Devcluster(config=config)
  
imports: import json
  import os
  import subprocess
  import time
  from typing import Any, Dict, Iterator, List, Union, cast
  import pytest
  from tests import config
  from .abstract_cluster import Cluster
  from .test_users import logged_in_user
  from .utils import now_ts, set_master_port
label_desc: Use image node_id 1 to create a new ManagedCluster object from inherited base classes: Cluster with example: obj = ManagedCluster(config)