fix:thrift/sql改为可选

This commit is contained in:
duanchao.bill
2022-05-07 11:07:17 +08:00
parent c69acad9e4
commit 86fad0ad70
3 changed files with 70 additions and 24 deletions
+1 -2
View File
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import
import platform
import enum
import json
@@ -84,7 +84,6 @@ class ThriftClient(object):
self.timeout = timeout
self.proto_type = proto_type
self.trans_type = trans_type
assert platform.system() != "Windows", "thrift not support Windows for now"
try:
logger.debug(
"init thrift module: thrift_file=%s, module_name=%s",