class_docstr: A SageMaker Runtime client that calls a local endpoint only.
class_docstr_tok: ["A","SageMaker","Runtime","client","that","calls","a","local","endpoint","only","."]
docstr: Initializes a LocalSageMakerRuntimeClient.
  
  Args:
      config (dict): Optional configuration for this client. In particular only
          the local port is read.
code: def __init__(self, config=None):
      """Initializes a LocalSageMakerRuntimeClient.
  
      Args:
          config (dict): Optional configuration for this client. In particular only
              the local port is read.
      """
      try:
          import urllib3
      except ImportError as e:
          logger.error(
              _module_import_error("urllib3", "Local mode", "local")
          )
          raise e
  
      self.http = urllib3.PoolManager()
      self.serving_port = 8080
      self.config = config
  
imports: from __future__ import absolute_import, annotations
  import logging
  import platform
  from datetime import datetime
  from typing import Dict
  import boto3
  from botocore.exceptions import ClientError
  import jsonschema
  from sagemaker.config import SAGEMAKER_PYTHON_SDK_LOCAL_MODE_CONFIG_SCHEMA, SESSION_DEFAULT_S3_BUCKET_PATH, SESSION_DEFAULT_S3_OBJECT_KEY_PREFIX_PATH, load_local_mode_config, load_sagemaker_config, validate_sagemaker_config
  from sagemaker.local.image import _SageMakerContainer
  from sagemaker.local.utils import get_docker_host
  from sagemaker.local.entities import _LocalEndpointConfig, _LocalEndpoint, _LocalModel, _LocalProcessingJob, _LocalTrainingJob, _LocalTransformJob, _LocalPipeline
  from sagemaker.session import Session
  from sagemaker.utils import get_config_value, _module_import_error, resolve_value_from_config, format_tags
label_desc: Use image node_id 1 to create a new LocalSagemakerRuntimeClient object from inherited base classes: object with example: obj = LocalSagemakerRuntimeClient(config)