code: def test_describe_model_response_contains_expected_attributes(
      sagemaker_client,
  ):
      model_name = "sample-model"
      execution_role_arn = "arn:aws:iam::012345678910:role/sample-role"
      primary_container = {
          "Image": "012345678910.dkr.ecr.us-west-2.amazonaws.com/sample-container",
      }
  
      sagemaker_client.create_model(
          ModelName=model_name,
          ExecutionRoleArn=execution_role_arn,
          PrimaryContainer=primary_container,
      )
  
      describe_model_response = sagemaker_client.describe_model(
          ModelName=model_name
      )
      assert "CreationTime" in describe_model_response
      assert "ModelArn" in describe_model_response
      assert "ExecutionRoleArn" in describe_model_response
      assert (
          describe_model_response["ExecutionRoleArn"]
          == execution_role_arn
      )
      assert "ModelName" in describe_model_response
      assert describe_model_response["ModelName"] == model_name
      assert "PrimaryContainer" in describe_model_response
      assert (
          describe_model_response["PrimaryContainer"]
          == primary_container
      )
  
imports: import boto3
  import pytest
  from tests.helper_functions import set_boto_credentials
  from tests.sagemaker.mock import mock_sagemaker
label_desc: Use image node_id 8 for calling a global function with example usage: test_describe_model_response_contains_expected_attributes(sagemaker_client) without return types