code: def _validate_parsed_args(
      parsed_args: parsed_args_lib.ParsedArgs,
  ) -> None:
      # If candidate_count is not set (i.e. is None), assuming the default value
      # is 1.
      if parsed_args.unique and (
          parsed_args.model_args.candidate_count is None
          or parsed_args.model_args.candidate_count == 1
      ):
          print(
              '"--unique" works across candidates only: it should be used with'
              " --candidate_count set to a value greater-than one."
          )
  
imports: from __future__ import annotations
  import argparse
  import shlex
  import sys
  from typing import AbstractSet, Any, Callable, MutableMapping, Sequence
  from google.generativeai.notebook import argument_parser
  from google.generativeai.notebook import flag_def
  from google.generativeai.notebook import input_utils
  from google.generativeai.notebook import model_registry
  from google.generativeai.notebook import output_utils
  from google.generativeai.notebook import parsed_args_lib
  from google.generativeai.notebook import post_process_utils
  from google.generativeai.notebook import py_utils
  from google.generativeai.notebook import sheets_utils
  from google.generativeai.notebook.lib import llm_function
  from google.generativeai.notebook.lib import llmfn_inputs_source
  from google.generativeai.notebook.lib import llmfn_outputs
  from google.generativeai.notebook.lib import model
label_desc: Use image node_id 17 for calling a global function with example usage: _validate_parsed_args(parsed_args) without return types