code: def translate(self, body, params=None):
          
          if body in SKIP_IN_PATH:
              raise ValueError("Empty value passed for a required argument 'body'.")
          return self.transport.perform_request(
              "POST", "/_sql/translate", params=params, body=body
          )
docs: `<Translate SQL into Elasticsearch queries>`_
  
          :arg body: Specify the query in the `query` element.