code: def current_run():
      """Returns an instance of guild.run.Run for the current run.
  
      The current run directory must be specified with the RUN_DIR
      environment variable. If this variable is not defined, raises
      NoCurrentRun.
      """
      import guild.run
  
      path = os.getenv("RUN_DIR")
      if not path:
          raise NoCurrentRun()
      return guild.run.Run(os.getenv("RUN_ID"), path)
  
imports: import os
  import subprocess
  import sys
label_desc: Use image node_id 19 for calling a global function with example usage: current_run() and returns: guild