From 351ca4d0dae9e7867d60ab9162cc7b70e0ea64de Mon Sep 17 00:00:00 2001 From: dl239 Date: Tue, 7 Nov 2023 16:47:54 +0800 Subject: [PATCH] feat: support in python --- python/openmldb_sdk/openmldb/sdk/sdk.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/openmldb_sdk/openmldb/sdk/sdk.py b/python/openmldb_sdk/openmldb/sdk/sdk.py index bc8454039b4..e079f77c5d3 100644 --- a/python/openmldb_sdk/openmldb/sdk/sdk.py +++ b/python/openmldb_sdk/openmldb/sdk/sdk.py @@ -52,6 +52,8 @@ def init(self): options.zk_log_level = int(self.options_map['zkLogLevel']) if 'zkLogFile' in self.options_map: options.zk_log_file = self.options_map['zkLogFile'] + if 'zkCert' in self.options_map: + options.zk_cert = self.options_map['zkCert'] else: options = sql_router_sdk.StandaloneOptions() # use host