code: def _parse_external_artifacts(art_list, db):
      retval = {}
      for entry in art_list:
          external = re.sub(":.*", "", entry)
          tag = re.sub(".*:", "", entry)
  
          experiment_key = re.sub("/.*", "", external)
          external_tag = re.sub(".*/", "", external)
          experiment = db.get_experiment(experiment_key, getinfo=False)
  
          retval[tag] = {
              "key": experiment.artifacts[external_tag].key,
              "mutable": False,
          }
      return retval
  
imports: import copy
  import sys
  import argparse
  import re
  import os
  import uuid
  import importlib
  import time
  import six
  import numpy
  from studio.credentials.credentials import KEY_CREDENTIALS
  from studio.hyperparameter import HyperparameterParser
  from studio.extra_util import Progbar, rsync_cp
  from studio.experiments.experiment import create_experiment
  from studio.experiment_submitter import submit_experiments
  from studio import model
  from studio import git_util
  from studio import local_worker
  from studio import fs_tracker
  from studio.dependencies_policies.studio_dependencies_policy import StudioDependencyPolicy
  from studio.util import logs, util
label_desc: Use image node_id 5 for calling a global function with example usage: _parse_external_artifacts(art_list, db) and returns: retval