def run_jx_query()

in src/redash_stmo/query_runner/activedata.py [0:0]


    def run_jx_query(self, query, user):
        data = json.dumps(query, ensure_ascii=False)
        result = requests.post(self.configuration["host_url"] + "/query", data=data)
        response = json.loads(result.content)

        if response.get("type") == "ERROR":
            cause = self.find_error_cause(response)
            raise Exception(cause)
        return response