code: def tag(tagspec, **kwargs):
      def wrapper(f):
          f.tags.append(tagspec)
          return f
  
      return wrapper
  
imports: import sys
  import os
  from metaflow.exception import MetaflowException
  from metaflow import current
  from metaflow.cards import get_cards
  from metaflow.plugins.cards.exception import CardNotPresentException
label_desc: Use image node_id 2 for calling a global function with example usage: tag(tagspec) and returns: wrapper, f