code: def __init__(
      self,
      json_files,
      flight_scenarios: List[Scenario],
      testers: List[Tester],
      tempdir=None,
      debug=False,
      stop_on_error=True,
      gold_dirs=None,
      serial=False,
      match=None,
      **unused_kwargs,
  ):
      self.json_files = json_files
      self.flight_scenarios = flight_scenarios
      self.testers = testers
      self.temp_dir = tempdir or tempfile.mkdtemp()
      self.debug = debug
      self.stop_on_error = stop_on_error
      self.serial = serial
      self.gold_dirs = gold_dirs
      self.failures: List[Outcome] = []
      self.skips: List[Outcome] = []
      self.match = match
  
      if self.match is not None:
          print(
              "-- Only running tests with {} in their name".format(
                  self.match
              )
          )
          self.json_files = [
              json_file
              for json_file in self.json_files
              if self.match in json_file.name
          ]
  
imports: from collections import namedtuple
  from concurrent.futures import ThreadPoolExecutor
  from functools import partial
  import glob
  import gzip
  import itertools
  import os
  import sys
  import tempfile
  import traceback
  from typing import Callable, List, Optional
  from .None import cdata
  from .scenario import Scenario
  from .tester import Tester, CDataExporter, CDataImporter
  from .tester_cpp import CppTester
  from .tester_go import GoTester
  from .tester_rust import RustTester
  from .tester_java import JavaTester
  from .tester_js import JSTester
  from .tester_csharp import CSharpTester
  from .util import guid, printer
  from .util import SKIP_C_ARRAY, SKIP_C_SCHEMA, SKIP_FLIGHT, SKIP_IPC
  from ..utils.source import ARROW_ROOT_DEFAULT
  from .None import datagen
label_desc: Use image node_id 1 to create a new IntegrationRunner object from inherited base classes: object with example: obj = IntegrationRunner(json_files, flight_scenarios, testers, tempdir, debug, stop_on_error, gold_dirs, serial, match)