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

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

commit 54b6236c0c04a236a5a2f803828490f7c4e9a2c9
Author: HTHou <[email protected]>
AuthorDate: Tue Apr 15 18:01:28 2025 +0800

    Include all thrift genarated python code in python client to support AINode
---
 iotdb-client/client-py/pom.xml | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

diff --git a/iotdb-client/client-py/pom.xml b/iotdb-client/client-py/pom.xml
index a7f3ed35a11..d20f37f9659 100644
--- a/iotdb-client/client-py/pom.xml
+++ b/iotdb-client/client-py/pom.xml
@@ -43,6 +43,18 @@
             <version>2.0.2-SNAPSHOT</version>
             <scope>provided</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.iotdb</groupId>
+            <artifactId>iotdb-thrift-confignode</artifactId>
+            <version>2.0.2-SNAPSHOT</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.iotdb</groupId>
+            <artifactId>iotdb-thrift-ainode</artifactId>
+            <version>2.0.2-SNAPSHOT</version>
+            <scope>provided</scope>
+        </dependency>
     </dependencies>
     <build>
         <resources>
@@ -114,13 +126,16 @@
                             <resources>
                                 <resource>
                                     
<directory>${basedir}/../../iotdb-protocol/thrift-datanode/target/generated-sources-python/iotdb/thrift/</directory>
-                                    <includes>
-                                        <include>**/rpc/*</include>
-                                    </includes>
                                 </resource>
                                 <resource>
                                     
<directory>${basedir}/../../iotdb-protocol/thrift-commons/target/generated-sources-python/iotdb/thrift/</directory>
                                 </resource>
+                                <resource>
+                                    
<directory>${basedir}/../../iotdb-protocol/thrift-confignode/target/generated-sources-python/iotdb/thrift/</directory>
+                                </resource>
+                                <resource>
+                                    
<directory>${basedir}/../../iotdb-protocol/thrift-ainode/target/generated-sources-python/iotdb/thrift/</directory>
+                                </resource>
                             </resources>
                         </configuration>
                     </execution>
@@ -195,6 +210,8 @@
                         <!-- This dependency is only used for ensuring the 
build order -->
                         
<usedDependency>org.apache.iotdb:iotdb-thrift-commons</usedDependency>
                         
<usedDependency>org.apache.iotdb:iotdb-thrift</usedDependency>
+                        
<usedDependency>org.apache.iotdb:iotdb-thrift-confignode</usedDependency>
+                        
<usedDependency>org.apache.iotdb:iotdb-thrift-ainode</usedDependency>
                     </usedDependencies>
                 </configuration>
             </plugin>

Reply via email to