code: def get_hostnode(self, hostnode_id: str) -> dict:
      logger.debug("Fetching hostnode %s", hostnode_id)
      resp = self.s.get(
          self._url(f"/client/deploy/hostnodes/{hostnode_id}")
      )
      resp.raise_for_status()
      data = resp.json()
      if not data["success"]:
          raise requests.HTTPError(data)
      return data["hostnode"]
  
file_path: dstack/src/dstack/_internal/core/backends/tensordock/api_client.py
imports: import uuid
  import requests
  import yaml
  from dstack._internal.core.models.instances import InstanceType
  from dstack._internal.utils.logging import get_logger
label_desc: Use image node_id 3 for calling the TensorDockAPIClient obj's underlying member method code with example usage: obj.get_hostnode(hostnode_id) and returns: data