code: def test_jumpstart_training_artifact_key_instance_variants():
      assert (
          INSTANCE_TYPE_VARIANT.get_instance_specific_artifact_key(
              instance_type="ml.g6.xlarge"
          )
          == "path/to/training/artifact.tar.gz"
      )
  
      assert (
          INSTANCE_TYPE_VARIANT.get_instance_specific_artifact_key(
              instance_type="ml.g4.9xlarge"
          )
          == "path/to/prepacked/training/artifact/prefix/number2/"
      )
  
      assert (
          INSTANCE_TYPE_VARIANT.get_instance_specific_artifact_key(
              instance_type="ml.p9.9xlarge"
          )
          == "do/re/mi"
      )
  
      assert (
          INSTANCE_TYPE_VARIANT.get_instance_specific_artifact_key(
              instance_type="ml.p9.12xlarge"
          )
          == "you/not/entertained"
      )
  
      assert (
          INSTANCE_TYPE_VARIANT.get_instance_specific_artifact_key(
              instance_type="ml.g9dsfsdfs.12xlarge"
          )
          is None
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/jumpstart/test_types.py
imports: from __future__ import absolute_import
  import copy
  from sagemaker.jumpstart.types import JumpStartECRSpecs, JumpStartHyperparameter, JumpStartInstanceTypeVariants, JumpStartModelSpecs, JumpStartModelHeader
  from tests.unit.sagemaker.jumpstart.constants import BASE_SPEC
label_desc: Use image node_id 10 for calling a global function with example usage: test_jumpstart_training_artifact_key_instance_variants() without return types