From ccbdde9de929b7f4da11db66606eee196a510d27 Mon Sep 17 00:00:00 2001 From: Abhishek Sarangan Date: Fri, 10 Feb 2023 13:14:29 -0800 Subject: [PATCH 1/2] Correct order of parameters for Cursor's init Fix for issue https://github.com/druid-io/pydruid/issues/300 --- pydruid/db/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydruid/db/api.py b/pydruid/db/api.py index 86b64e5e..4c8beed5 100644 --- a/pydruid/db/api.py +++ b/pydruid/db/api.py @@ -204,8 +204,8 @@ def __init__( context=None, header=False, ssl_verify_cert=True, - proxies=None, ssl_client_cert=None, + proxies=None ): self.url = url self.context = context or {} From 82980f0375d2fba6c996eadcc11d5994b8cfe43c Mon Sep 17 00:00:00 2001 From: Abhishek Sarangan Date: Fri, 10 Feb 2023 15:29:12 -0800 Subject: [PATCH 2/2] Update api.py --- pydruid/db/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydruid/db/api.py b/pydruid/db/api.py index 4c8beed5..9b415f9d 100644 --- a/pydruid/db/api.py +++ b/pydruid/db/api.py @@ -205,7 +205,7 @@ def __init__( header=False, ssl_verify_cert=True, ssl_client_cert=None, - proxies=None + proxies=None, ): self.url = url self.context = context or {}