def generate_importer_base_name(dependent_task_name: str,
                                input_name: str) -> str:
  """Generates the base name of an importer node.

  The base name is formed by connecting the dependent task name and the input
  artifact name. It's used to form task name, component ref, and executor label.

  Args:
    dependent_task_name: The name of the task requires importer node.
    input_name: The name of the input artifact needs to be imported.

  Returns:
    A base importer node name.
  """
  return 'importer-{}-{}'.format(dependent_task_name, input_name)