code: def test_describe_explainer_config(sagemaker_session, endpoint_name):
      endpoint_desc = (
          sagemaker_session.sagemaker_client.describe_endpoint(
              EndpointName=endpoint_name
          )
      )
  
      endpoint_config_desc = (
          sagemaker_session.sagemaker_client.describe_endpoint_config(
              EndpointConfigName=endpoint_desc["EndpointConfigName"]
          )
      )
      assert (
          endpoint_config_desc["ExplainerConfig"]
          == EXPLAINER_CONFIG._to_request_dict()
      )
  
file_path: sagemaker-python-sdk/tests/integ/test_explainer.py
imports: from __future__ import absolute_import
  import codecs
  import json
  import os
  import pytest
  import tests.integ
  import tests.integ.timeout
  from sagemaker import image_uris
  from sagemaker.model import Model
  from sagemaker.utils import unique_name_from_base
  from sagemaker.explainer.explainer_config import ExplainerConfig
  from sagemaker.explainer.clarify_explainer_config import ClarifyExplainerConfig, ClarifyShapConfig, ClarifyShapBaselineConfig
  from tests.integ import DATA_DIR
label_desc: Use image node_id 2 for calling a global function with example usage: test_describe_explainer_config(sagemaker_session, endpoint_name) without return types