code: def create_image_uri(
      region,
      framework,
      instance_type,
      framework_version,
      py_version=None,
      account=None,  # pylint: disable=W0613
      accelerator_type=None,
      optimized_families=None,  # pylint: disable=W0613
  ):
      """Deprecated method. Please use sagemaker.image_uris.retrieve().
  
      Args:
          region (str): AWS region where the image is uploaded.
          framework (str): framework used by the image.
          instance_type (str): SageMaker instance type. Used to determine device
              type (cpu/gpu/family-specific optimized).
          framework_version (str): The version of the framework.
          py_version (str): Optional. Python version. If specified, should be one
              of 'py2' or 'py3'. If not specified, image uri will not include a
              python component.
          account (str): AWS account that contains the image. (default:
              '520713654638')
          accelerator_type (str): SageMaker Elastic Inference accelerator type.
          optimized_families (str): Deprecated. A no-op argument.
  
      Returns:
          the image uri
      """
      renamed_warning("The method create_image_uri")
      return sagemaker.image_uris.retrieve(
          framework=framework,
          region=region,
          version=framework_version,
          py_version=py_version,
          instance_type=instance_type,
          accelerator_type=accelerator_type,
      )
  
imports: from __future__ import absolute_import
  import json
  import logging
  import os
  import re
  import time
  import shutil
  import tempfile
  from collections import namedtuple
  from typing import List, Optional, Union, Dict
  from packaging import version
  import sagemaker.image_uris
  from sagemaker.instance_group import InstanceGroup
  from sagemaker.s3_utils import s3_path_join
  from sagemaker.session_settings import SessionSettings
  import sagemaker.utils
  from sagemaker.workflow import is_pipeline_variable
  from sagemaker.deprecations import renamed_warning, renamed_kwargs
  from sagemaker.workflow.entities import PipelineVariable
  from sagemaker.deprecations import deprecation_warn_base
label_desc: Use image node_id 26 for calling a global function with example usage: create_image_uri(region, framework, instance_type, framework_version, py_version, account, accelerator_type, optimized_families) and returns: sagemaker