code: def test_model_package(sagemaker_session):
      obj = action.ModelPackageApprovalAction(
          sagemaker_session,
          action_name="abcd-aws-model-package",
          source=ActionSource(
              source_uri="arn:aws:sagemaker:us-west-2:123456789012:model-package/pipeline88modelpackage/1",
              source_type="ARN",
          ),
          status="updated-status",
          properties={"k1": "v1"},
          properties_to_remove=["k2"],
      )
      sagemaker_session.sagemaker_client.describe_model_package.return_value = (
          {}
      )
      obj.model_package()
  
      sagemaker_session.sagemaker_client.describe_model_package.assert_called_with(
          ModelPackageName="pipeline88modelpackage",
      )
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/lineage/test_action.py
imports: from __future__ import absolute_import
  import datetime
  import unittest.mock
  from sagemaker.lineage import action, _api_types
  from sagemaker.lineage._api_types import ActionSource
label_desc: Use image node_id 12 for calling a global function with example usage: test_model_package(sagemaker_session) without return types