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

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

commit 97f85b725365f17cfe53a9292b864c6c662513ef
Author: HTHou <[email protected]>
AuthorDate: Thu Jul 25 15:45:48 2024 +0800

    update code
---
 iotdb-client/client-py/iotdb/template/MeasurementNode.py | 9 ++-------
 iotdb-client/client-py/requirements_dev.txt              | 5 +++--
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/iotdb-client/client-py/iotdb/template/MeasurementNode.py 
b/iotdb-client/client-py/iotdb/template/MeasurementNode.py
index 9c2de7a45b8..0be8803aea9 100644
--- a/iotdb-client/client-py/iotdb/template/MeasurementNode.py
+++ b/iotdb-client/client-py/iotdb/template/MeasurementNode.py
@@ -26,13 +26,8 @@ warnings.simplefilter("always", DeprecationWarning)
 
 class MeasurementNode(TemplateNode):
 
-    def __init__(
-        self,
-        name: str,
-        data_type: TSDataType,
-        encoding: TSEncoding,
-        compression_type: Compressor,
-    ):
+    def __init__(self, name: str, data_type: TSDataType, encoding: TSEncoding, 
compression_type: Compressor):
+        super().__init__(name)
         warnings.warn(
             "The APIs about template are deprecated and will be removed in 
future versions. Use sql instead.",
             DeprecationWarning,
diff --git a/iotdb-client/client-py/requirements_dev.txt 
b/iotdb-client/client-py/requirements_dev.txt
index 53b73454f90..4408a9d4aeb 100644
--- a/iotdb-client/client-py/requirements_dev.txt
+++ b/iotdb-client/client-py/requirements_dev.txt
@@ -19,10 +19,11 @@
 -r requirements.txt
 # Pytest to run tests
 pytest>=7.0.0
+testcontainers==3.4.2
+# For Linting
 flake8>=5.0.0
 black>=22.8.0
-# Testcontainer
-testcontainers==3.4.2
 # For releases
 twine==3.4.1
 wheel>=0.37.1
+build >= 0.9.0

Reply via email to