code: def add_dlc_framework_version(
      existing_content,
      short_version,
      full_version,
      scope,
      processors,
      py_versions,
      registries,
      repository,
  ):
      """Update DLC framework image uri json file with new version information.
  
      Args:
          existing_content (dict): Existing framework image uri information read from
              "<framework>.json" file.
          framework (str): Framework name (e.g. tensorflow, pytorch, mxnet)
          short_version (str): Abbreviated framework version (e.g. 1.0, 1.5)
          full_version (str): Complete framework version (e.g. 1.0.0, 1.5.2)
          scope (str): Framework image type, it could be "training", "inference"
              or "eia"
          processors (list): Supported processors (e.g. ["cpu", "gpu"])
          py_versions (list): Supported Python versions (e.g. ["py3", "py37"])
          registries (dict): Framework image's region to account mapping.
          repository (str): Framework image's ECR repository.
      """
      for processor in processors:
          if processor not in existing_content[scope]["processors"]:
              existing_content[scope]["processors"].append(processor)
      existing_content[scope]["version_aliases"][
          short_version
      ] = full_version
  
      new_version = {
          "registries": registries,
          "repository": repository,
      }
      if py_versions:
          new_version["py_versions"] = py_versions
      existing_content[scope]["versions"][full_version] = new_version
  
file_path: sagemaker-python-sdk/src/sagemaker/cli/framework_upgrade.py
imports: from __future__ import absolute_import
  import argparse
  import json
  import os
  from sagemaker.image_uris import config_for_framework
label_desc: Use image node_id 3 for calling a global function with example usage: add_dlc_framework_version(existing_content, short_version, full_version, scope, processors, py_versions, registries, repository) without return types