code: def populate_space(config, force_update=True):
      """Add the space definition at the root of config."""
      if "space" in config and not force_update:
          return
  
      populate_priors(config["metadata"])
      # Overwrite space to make sure to include changes from user_args
      if "priors" in config["metadata"]:
          log.debug("Updating space for backward compatibility")
          log.debug(pprint.pformat(config["metadata"]["priors"]))
          config["space"] = config["metadata"]["priors"]
  
file_path: orion/src/orion/core/utils/backward.py
imports: import copy
  import logging
  import pprint
  import orion.core
  from orion.core.io.orion_cmdline_parser import OrionCmdlineParser
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 4 for calling a global function with example usage: populate_space(config, force_update) without return types