code: def fetch_config(self) -> Dict:
      with logged_in_user(conf.ADMIN_CREDENTIALS):
          master_config = json.loads(
              subprocess.run(
                  [
                      "det",
                      "-m",
                      conf.make_master_url(),
                      "master",
                      "config",
                      "show",
                      "--json",
                  ],
                  stdout=subprocess.PIPE,
                  check=True,
              ).stdout.decode()
          )
      return cast(Dict, master_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 13 for calling the ManagedCluster obj's underlying member method code with example usage: obj.fetch_config() and returns: cast