code: def handle_seq_trials(batch_run, suggest_x_cb):
      if os.getenv("PRINT_TRIALS_CMD") == "1":
          _print_trials_cmd_not_supported_error()
      elif os.getenv("PRINT_TRIALS") == "1":
          _print_trials_not_supported_error()
      elif os.getenv("SAVE_TRIALS"):
          _save_trials_not_supported_error()
      else:
          try:
              _run_seq_trials(batch_run, suggest_x_cb)
          except MissingSearchDimension as e:
              missing_search_dim_error(e.flag_vals)
          except InvalidObjective as e:
              _handle_general_error(e)
  
imports: import logging
  import os
  import typing
  import warnings
  from guild import _skopt
  from guild import batch_util
  from guild import flag_util
  from guild import op_util
  from guild import query
label_desc: Use image node_id 14 for calling a global function with example usage: handle_seq_trials(batch_run, suggest_x_cb) without return types