code: def __warn_on_server_config(cls, server_name, server_port, root_path):
      if (
          server_name is None
          or server_name == PatchGradio._default_gradio_address
      ) and (
          server_port is None
          and server_port == PatchGradio._default_gradio_port
      ):
          return
      if (
          server_name,
          server_port,
          root_path,
      ) in cls.__server_config_warning:
          return
      cls.__server_config_warning.add(
          (server_name, server_port, root_path)
      )
      if server_name is not None and server_port is not None:
          server_config = "{}:{}".format(server_name, server_port)
          what_to_ignore = "name and port"
      elif server_name is not None:
          server_config = str(server_name)
          what_to_ignore = "name"
      else:
          server_config = str(server_port)
          what_to_ignore = "port"
      getLogger().warning(
          "ClearML only supports '{}:{}' as the Gradio server. Ignoring {} '{}' in remote execution".format(
              PatchGradio._default_gradio_address,
              PatchGradio._default_gradio_port,
              what_to_ignore,
              server_config,
          )
      )
      if root_path is not None:
          getLogger().warning(
              "ClearML will override root_path '{}' to '{}' in remote execution".format(
                  root_path,
                  PatchGradio._root_path_format.format(
                      PatchGradio._current_task.id
                  ),
              )
          )
  
file_path: clearml/clearml/binding/gradio_bind.py
imports: import sys
  from logging import getLogger
  from .frameworks import _patched_call
  from .import_bind import PostImportHookPatching
  from ..utilities.networking import get_private_ip
  from ..config import running_remotely
label_desc: Use image node_id 5 for calling the PatchGradio obj's underlying member method code with example usage: obj.__warn_on_server_config(cls, server_name, server_port, root_path) without return types