code: def _get_cluster_id(sess: api.Session) -> str:
      resp = bindings.get_GetMaster(session=sess)
      return resp.clusterId
  
imports: import logging
  from typing import Callable, Optional, Tuple, TypeVar, Union
  import determined
  from determined import core, experimental
  from determined.common import api, util
  from determined.common.api import bindings
label_desc: Use image node_id 7 for calling a global function with example usage: _get_cluster_id(sess) and returns: resp