code: def __init__(
      self,
      config_scopes,
      subrunners,
      path,
      captured_functions,
      commands,
      named_configs,
      config_hooks,
      generate_seed,
  ):
      self.config_scopes = config_scopes
      self.named_configs = named_configs
      self.subrunners = subrunners
      self.path = path
      self.generate_seed = generate_seed
      self.config_hooks = config_hooks
      self.config_updates = {}
      self.named_configs_to_use = []
      self.config = {}
      self.fallback = None
      self.presets = {}
      self.fixture = None  # TODO: rename
      self.logger = None
      self.seed = None
      self.rnd = None
      self._captured_functions = captured_functions
      self.commands = commands
      self.config_mods = None
      self.summaries = []
      self.captured_args = {
          join_paths(cf.prefix, n)
          for cf in self._captured_functions
          for n in cf.signature.arguments
      }
      self.captured_args.add("__doc__")
  
imports: import os
  from collections import OrderedDict, defaultdict
  from copy import copy, deepcopy
  from sacred.config import ConfigDict, chain_evaluate_config_scopes, dogmatize, load_config_file, undogmatize
  from sacred.config.config_summary import ConfigSummary
  from sacred.config.custom_containers import make_read_only
  from sacred.host_info import get_host_info
  from sacred.randomness import create_rnd, get_seed
  from sacred.run import Run
  from sacred.utils import convert_to_nested_dict, create_basic_stream_logger, get_by_dotted_path, is_prefix, rel_path, iterate_flattened, set_by_dotted_path, recursive_update, iter_prefixes, join_paths, NamedConfigNotFoundError, ConfigAddedError
  from sacred.settings import SETTINGS
label_desc: Use image node_id 1 to create a new Scaffold object  with example: obj = Scaffold(config_scopes, subrunners, path, captured_functions, commands, named_configs, config_hooks, generate_seed)