code: def replace_tag(self, tag_to_remove, tag_to_add):
      self.run_cli(
          [
              "tag",
              "replace",
              "--run-id",
              self.run_id,
              tag_to_remove,
              tag_to_add,
          ]
      )
  
imports: import sys
  import subprocess
  import json
  from collections import namedtuple
  from tempfile import NamedTemporaryFile
  from metaflow.includefile import IncludedFile
  from metaflow.util import is_stringish
  from .None import MetaflowCheck, AssertArtifactFailed, AssertLogFailed, truncate, AssertCardFailed
label_desc: Use image node_id 17 for calling the CliCheck obj's underlying member method code with example usage: obj.replace_tag(tag_to_remove, tag_to_add) without return types