code: def exportTags(tags, env_var_name, tag_overrides={}):
      tags = deepcopy(tags)
      for k, v in tag_overrides.items():
          tags[k] = v
      inlined_tags = ",".join([f"{k}={v}" for k, v in tags.items()])
      print(f"export {env_var_name}='{inlined_tags}'")
      print(f"export {env_var_name}_JSON='{json.dumps(tags)}'")
  
imports: import sys
  import yaml
  import json
  from copy import deepcopy
label_desc: Use image node_id 2 for calling a global function with example usage: exportTags(tags, env_var_name, tag_overrides) without return types