This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch opt_insert_records
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/opt_insert_records by this 
push:
     new 3741abddfa0 Fix tests
3741abddfa0 is described below

commit 3741abddfa0cb5d6eccbba6abd77c96bea384410
Author: HTHou <[email protected]>
AuthorDate: Fri Sep 22 00:50:10 2023 +0800

    Fix tests
---
 iotdb-client/client-py/iotdb/utils/IoTDBConstants.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/iotdb-client/client-py/iotdb/utils/IoTDBConstants.py 
b/iotdb-client/client-py/iotdb/utils/IoTDBConstants.py
index a82dacfa34c..fac308b7556 100644
--- a/iotdb-client/client-py/iotdb/utils/IoTDBConstants.py
+++ b/iotdb-client/client-py/iotdb/utils/IoTDBConstants.py
@@ -16,12 +16,12 @@
 # under the License.
 #
 
-from enum import unique, IntEnum
+from enum import Enum, unique
 import numpy as np
 
 
 @unique
-class TSDataType(IntEnum):
+class TSDataType(Enum):
     BOOLEAN = 0
     INT32 = 1
     INT64 = 2
@@ -49,7 +49,7 @@ class TSDataType(IntEnum):
 
 
 @unique
-class TSEncoding(IntEnum):
+class TSEncoding(Enum):
     PLAIN = 0
     DICTIONARY = 1
     RLE = 2
@@ -74,7 +74,7 @@ class TSEncoding(IntEnum):
 
 
 @unique
-class Compressor(IntEnum):
+class Compressor(Enum):
     UNCOMPRESSED = 0
     SNAPPY = 1
     GZIP = 2

Reply via email to