class_docstr: Experimental
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def _get_client_translators(self):
      """Placeholder docstring"""
      serializer = None
      if self.schema and hasattr(
          self.schema, "custom_input_translator"
      ):
          serializer = self.schema.custom_input_translator
      elif self.schema:
          serializer = self.schema.input_serializer
      else:
          raise Exception("Cannot serialize")
  
      deserializer = None
      if self.schema and hasattr(
          self.schema, "custom_output_translator"
      ):
          deserializer = self.schema.custom_output_translator
      elif self.schema:
          deserializer = self.schema.output_deserializer
      else:
          raise Exception("Cannot deserialize")
  
      return serializer, deserializer
  
imports: from __future__ import absolute_import
  import platform
  import logging
  from pathlib import Path
  from typing import Type
  from sagemaker.serve.save_retrive.version_1_0_0.save.utils import generate_secret_key, compute_hash, save_pkl, save_yaml, capture_schema, get_image_url
  from sagemaker import Session
  from sagemaker.predictor import Predictor
  from sagemaker.serve.save_retrive.version_1_0_0.metadata.metadata import XGBoostMetadata
  from sagemaker.model import Model
  from sagemaker.serve.save_retrive.version_1_0_0.save.framework.framework_handler import FrameworkHandler
  from sagemaker.serve.builder.schema_builder import SchemaBuilder
  from sagemaker.serve.spec.inference_spec import InferenceSpec
label_desc: Use image node_id 6 for calling the XGBoostHandler obj's underlying member method code with example usage: obj._get_client_translators() and returns: serializer,  deserializer