class_docstr: A parameter used to configure the SageMaker Clarify explainer to treat text features as text so that explanations are provided for individual units of text. Required only for NLP explainability.
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 = {
          "Language": self.language,
          "Granularity": self.granularity,
      }
      return request_dict
  
imports: from __future__ import print_function, absolute_import
  from typing import List, Optional
label_desc: Use image node_id 2 for calling the ClarifyTextConfig obj's underlying member method code with example usage: obj._to_request_dict() and returns: request_dict