code: def flatten(it):
      return list(chain.from_iterable(it))
  
file_path: h2o-3/h2o-py/tests/testdir_algos/automl/pyunit_automl_concurrent_runs.py
imports: from concurrent.futures import ThreadPoolExecutor
  from functools import partial
  from itertools import chain
  import os
  import sys
  from h2o.automl import H2OAutoML
  from tests import pyunit_utils
  from _automl_utils import import_dataset
label_desc: Use image node_id 1 for calling a global function with example usage: flatten(it) and returns: list