code: def input_host_port(host_type, parsed_host):
      print("Enter port for {} host ".format(host_type), end="")
      replace_port = input().lower()
      return (
          parsed_host.scheme
          + "://"
          + parsed_host.netloc
          + (":{}".format(replace_port) if replace_port else "")
          + parsed_host.path
      )
  
imports: from __future__ import print_function
  import six
  import argparse
  import os
  from pathlib2 import Path
  from six.moves import input
  from six.moves.urllib.parse import urlparse
  from clearml.backend_api.session import Session
  from clearml.backend_api.session.defs import ENV_HOST
  from clearml.backend_config.defs import LOCAL_CONFIG_FILES, LOCAL_CONFIG_FILE_OVERRIDE_VAR
  from clearml.config import config_obj
  from clearml.utilities.pyhocon import ConfigFactory, ConfigMissingException
label_desc: Use image node_id 8 for calling a global function with example usage: input_host_port(host_type, parsed_host) and returns: unknown