code: def print_dependencies(_run):
      """Print the detected source-files and dependencies."""
      print("Dependencies:")
      for dep in _run.experiment_info["dependencies"]:
          pack, _, version = dep.partition("==")
          print("  {:<20} == {}".format(pack, version))
  
      print("\nSources:")
      for source, digest in _run.experiment_info["sources"]:
          print("  {:<43}  {}".format(source, digest))
  
      if _run.experiment_info["repositories"]:
          repos = _run.experiment_info["repositories"]
          print("\nVersion Control:")
          for repo in repos:
              mod = COLOR_DIRTY + "M" if repo["dirty"] else " "
              print(
                  "{} {:<43}  {}".format(
                      mod, repo["url"], repo["commit"]
                  )
                  + ENDC
              )
      print("")
  
file_path: sacred/sacred/commands.py
imports: import copy
  import pprint
  import pydoc
  import re
  from collections import namedtuple, OrderedDict
  from colorama import Fore, Style
  from sacred.config import save_config_file
  from sacred.serializer import flatten
  from sacred.utils import PATHCHANGE, iterate_flattened_separately
label_desc: Use image node_id 6 for calling a global function with example usage: print_dependencies(_run) without return types