code: def mine_platform_tag_string(tail_args):
      target_platforms = find_target_platforms(tail_args)
      platform_tags = (
          transform_target_platforms(target_platforms)
          if target_platforms
          else gen_platform_tags()
      )
      if all([tag.startswith("macos") for tag in platform_tags]) and (
          "--lipo" in tail_args
      ):
          platform_tags = PL_MACOS_UNIVERSAL
      return ".".join(sorted(platform_tags))
  
imports: from __future__ import print_function
  import glob
  import subprocess
  import shutil
  import os
  import stat
  import sys
  import platform
  import tempfile
  import hashlib
  from base64 import urlsafe_b64encode
  from argparse import ArgumentParser
  from enum import Enum
label_desc: Use image node_id 1 for calling a global function with example usage: mine_platform_tag_string(tail_args) and returns: str