class_docstr: A parameter to activate explainers.
docstr: Generates a request dictionary using the parameters provided to the class.
docstr_tok: ["Generates","a","request","dictionary","using","the","parameters","provided","to","the","class","."]
code: def _to_request_dict(self):
      """Generates a request dictionary using the parameters provided to the class."""
      request_dict = {}
  
      if self.clarify_explainer_config:
          request_dict[
              "ClarifyExplainerConfig"
          ] = self.clarify_explainer_config._to_request_dict()
  
      return request_dict
  
imports: from __future__ import print_function, absolute_import
  from typing import Optional
  from sagemaker.explainer.clarify_explainer_config import ClarifyExplainerConfig
label_desc: Use image node_id 2 for calling the ExplainerConfig obj's underlying member method code with example usage: obj._to_request_dict() and returns: request_dict