docstr: If you add arguments to <Estimator constructor>, this test will fail.
  Please add the new argument to the skip set below,
  and reach out to JumpStart team.
docstr_tok: ["If","you","add","arguments","to","<","Estimator","constructor",">",",","this","test","will","fail",".","Please","add","the","new","argument","to","the","skip","set","below",",","and","reach","out","to","JumpStart","team","."]
code: def test_jumpstart_estimator_kwargs_match_parent_class(self):
      """If you add arguments to <Estimator constructor>, this test will fail.
      Please add the new argument to the skip set below,
      and reach out to JumpStart team."""
  
      init_args_to_skip: Set[str] = set(["kwargs"])
      fit_args_to_skip: Set[str] = set()
      deploy_args_to_skip: Set[str] = set(["kwargs"])
  
      parent_class_init = Estimator.__init__
      parent_class_init_args = set(
          signature(parent_class_init).parameters.keys()
      )
  
      js_class_init = JumpStartEstimator.__init__
      js_class_init_args = set(
          signature(js_class_init).parameters.keys()
      )
      assert js_class_init_args - parent_class_init_args == {
          "model_id",
          "model_version",
          "region",
          "tolerate_vulnerable_model",
          "tolerate_deprecated_model",
      }
      assert (
          parent_class_init_args - js_class_init_args
          == init_args_to_skip
      )
  
      parent_class_fit = Estimator.fit
      parent_class_fit_args = set(
          signature(parent_class_fit).parameters.keys()
      )
  
      js_class_fit = JumpStartEstimator.fit
      js_class_fit_args = set(signature(js_class_fit).parameters.keys())
  
      assert js_class_fit_args - parent_class_fit_args == set()
      assert (
          parent_class_fit_args - js_class_fit_args == fit_args_to_skip
      )
  
      model_class_init = Model.__init__
      model_class_init_args = set(
          signature(model_class_init).parameters.keys()
      )
  
      parent_class_deploy = Estimator.deploy
      parent_class_deploy_args = set(
          signature(parent_class_deploy).parameters.keys()
      )
  
      js_class_deploy = JumpStartEstimator.deploy
      js_class_deploy_args = set(
          signature(js_class_deploy).parameters.keys()
      )
  
      assert (
          js_class_deploy_args - parent_class_deploy_args
          == model_class_init_args
          - {
              "model_data",
              "self",
              "name",
              "resources",
          }
      )
      assert (
          parent_class_deploy_args - js_class_deploy_args
          == deploy_args_to_skip
      )
  
imports: from __future__ import absolute_import
  import time
  from typing import Optional, Set
  from unittest import mock
  import unittest
  from inspect import signature
  import pytest
  from sagemaker.async_inference.async_inference_config import AsyncInferenceConfig
  from sagemaker.debugger.profiler_config import ProfilerConfig
  from sagemaker.estimator import Estimator
  from sagemaker.instance_group import InstanceGroup
  from sagemaker.jumpstart.artifacts.environment_variables import _retrieve_default_environment_variables
  from sagemaker.jumpstart.artifacts.hyperparameters import _retrieve_default_hyperparameters
  from sagemaker.jumpstart.artifacts.metric_definitions import _retrieve_default_training_metric_definitions
  from sagemaker.jumpstart.constants import DEFAULT_JUMPSTART_SAGEMAKER_SESSION
  from sagemaker.jumpstart.enums import JumpStartScriptScope, JumpStartTag
  from sagemaker.jumpstart.estimator import JumpStartEstimator
  from sagemaker.jumpstart.utils import get_jumpstart_content_bucket
  from sagemaker.session_settings import SessionSettings
  from tests.integ.sagemaker.jumpstart.utils import get_training_dataset_for_model_and_version
  from sagemaker.model import Model
  from sagemaker.predictor import Predictor
  from tests.unit.sagemaker.jumpstart.utils import get_special_model_spec, overwrite_dictionary
label_desc: Use image node_id 12 for calling the EstimatorTest obj's underlying member method code with example usage: obj.test_jumpstart_estimator_kwargs_match_parent_class() without return types