code: def truncate_patch_version(version):
      """Return just the major and minor versions from `version`."""
      split_version = version.split(".")
      return "{}.{}".format(split_version[0], split_version[1])
  
imports: import os
  import json
  import logging
label_desc: Use image node_id 1 for calling a global function with example usage: truncate_patch_version(version) and returns: str