code: def default_right_sized_model(model_package):
      return model_package.right_size(
          sample_payload_url=IR_SAMPLE_PAYLOAD_URL,
          supported_content_types=IR_SUPPORTED_CONTENT_TYPES,
          supported_instance_types=[IR_SAMPLE_INSTANCE_TYPE],
          job_name=IR_JOB_NAME,
          framework=IR_SAMPLE_FRAMEWORK,
      )
  
imports: from __future__ import absolute_import
  from unittest.mock import patch, MagicMock, ANY
  from sagemaker.model import Model, ModelPackage
  from sagemaker.parameter import CategoricalParameter
  from sagemaker.inference_recommender.inference_recommender_mixin import Phase, ModelLatencyThreshold
  from sagemaker.async_inference import AsyncInferenceConfig
  from sagemaker.serverless import ServerlessInferenceConfig
  from sagemaker.explainer import ExplainerConfig
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: default_right_sized_model(model_package) and returns: model_package