code: def test_continue_pytorch_completed_searcher(
      continue_max_length: int,
  ) -> None:
      exp_id = exp.create_experiment(
          conf.fixtures_path("mnist_pytorch/failable.yaml"),
          conf.fixtures_path("mnist_pytorch"),
          ["--config", "searcher.max_length.batches=3"],
      )
      exp.wait_for_experiment_state(
          exp_id, bindings.experimentv1State.COMPLETED
      )
  
      # Train for less or the same time has no error.
      det_cmd(
          [
              "e",
              "continue",
              str(exp_id),
              "--config",
              f"searcher.max_length.batches={continue_max_length}",
              "--config",
              "searcher.name=single",
          ],
          check=True,
      )
      exp.wait_for_experiment_state(
          exp_id, bindings.experimentv1State.COMPLETED
      )
  
file_path: determined/e2e_tests/tests/cluster/test_exp_continue.py
imports: import subprocess
  import tempfile
  from typing import Any, List, Tuple
  import pytest
  from determined.common import util
  from determined.common.api import bindings
  from tests import api_utils
  from tests import config
  from tests import experiment
label_desc: Use image node_id 9 for calling a global function with example usage: test_continue_pytorch_completed_searcher(continue_max_length) without return types