code: def test_create_model_with_optional_params(
      sagemaker_session,
      mxnet_inference_version,
      mxnet_inference_py_version,
  ):
      container_log_level = '"logging.INFO"'
      source_dir = "s3://mybucket/source"
      mx = MXNet(
          entry_point=SCRIPT_NAME,
          source_dir=source_dir,
          framework_version=mxnet_inference_version,
          py_version=mxnet_inference_py_version,
          role=ROLE,
          sagemaker_session=sagemaker_session,
          instance_count=INSTANCE_COUNT,
          instance_type=INSTANCE_TYPE,
          container_log_level=container_log_level,
          base_job_name="job",
      )
  
      mx.fit(inputs="s3://mybucket/train", job_name="new_name")
  
      new_role = "role"
      model_server_workers = 2
      vpc_config = {"Subnets": ["foo"], "SecurityGroupIds": ["bar"]}
      model_name = "model-name"
      model = mx.create_model(
          role=new_role,
          model_server_workers=model_server_workers,
          vpc_config_override=vpc_config,
          entry_point=SERVING_SCRIPT_FILE,
          env=ENV,
          name=model_name,
      )
  
      assert model.role == new_role
      assert model.model_server_workers == model_server_workers
      assert model.vpc_config == vpc_config
      assert model.entry_point == SERVING_SCRIPT_FILE
      assert model.env == ENV
      assert model.name == model_name
  
imports: from __future__ import absolute_import
  import logging
  import json
  import os
  import pytest
  from mock import MagicMock, Mock, ANY
  from mock import patch
  from pkg_resources import parse_version
  from sagemaker.fw_utils import UploadedCode
  from sagemaker.drift_check_baselines import DriftCheckBaselines
  from sagemaker.metadata_properties import MetadataProperties
  from sagemaker.model_metrics import FileSource, MetricsSource, ModelMetrics
  from sagemaker.mxnet import defaults
  from sagemaker.mxnet import MXNet
  from sagemaker.mxnet import MXNetPredictor, MXNetModel
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 10 for calling a global function with example usage: test_create_model_with_optional_params(sagemaker_session, mxnet_inference_version, mxnet_inference_py_version) without return types