From ac6725c793065c1e1fb5933267cad1aceea04d79 Mon Sep 17 00:00:00 2001 From: hantmac Date: Fri, 10 May 2024 17:42:14 +0800 Subject: [PATCH] fix --- databend_py/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/databend_py/connection.py b/databend_py/connection.py index 1e7a6d2..4d5492e 100644 --- a/databend_py/connection.py +++ b/databend_py/connection.py @@ -143,7 +143,7 @@ def do_query(self, url, query_sql): except ValueError: pass raise UnexpectedException("Unexpected status code %d when post query, content: %s, headers: %s" % - (response.status_code, response.content, self.make_headers())) + (response.status_code, response.content, response.headers)) if response.content: try: