code: def _get_full_image_uri(version):
      if Version(version) < Version("1.2-1"):
          image_tag = "-".join([version, "cpu", PYTHON_VERSION])
      else:
          image_tag = version
      return IMAGE_URI_FORMAT_STRING.format(
          REGION, IMAGE_URI, image_tag
      )
  
imports: from __future__ import absolute_import
  import logging
  import json
  import os
  import pytest
  from mock import Mock
  from mock import patch
  from packaging.version import Version
  from sagemaker.fw_utils import UploadedCode
  from sagemaker.session_settings import SessionSettings
  from sagemaker.xgboost import XGBoost, XGBoostModel, XGBoostPredictor
label_desc: Use image node_id 2 for calling a global function with example usage: _get_full_image_uri(version) and returns: IMAGE_URI_FORMAT_STRING