(self, pretty=False)
return json.dumps(self.raw_query, indent=indent)
Returns the JSON query that will be sent to elasticsearch.
Returns the JSON query that will be sent to elasticsearch.
Returns the JSON query that will be sent to elasticsearch .
def dumps(self, pretty=False):
        """Returns the JSON query that will be sent to elasticsearch."""
        indent = 4 if pretty else None
        return json.dumps(self.raw_query, indent=indent)
def dumps ( self , pretty = False ) : indent = 4 if pretty else None return json . dumps ( self . raw_query , indent = indent )