You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hu...@apache.org on 2022/11/14 10:26:46 UTC

[iotdb] 02/02: add python session (tmp save)

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

hui pushed a commit to branch ml/windowSet
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 511a6686f9ec08b5c61256deb0f33be17636f07f
Author: Minghui Liu <li...@foxmail.com>
AuthorDate: Mon Nov 14 18:25:07 2022 +0800

    add python session (tmp save)
---
 client-py/iotdb/Session.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/client-py/iotdb/Session.py b/client-py/iotdb/Session.py
index 529a6a93d8..471dc98b62 100644
--- a/client-py/iotdb/Session.py
+++ b/client-py/iotdb/Session.py
@@ -1451,3 +1451,11 @@ class Session(object):
             )
         )
         return response.measurements
+
+    def fetch_window_batch(self, query_paths : list, function_name : str, fetch_args):
+        request = TSFetchWindowBatchReq(
+            self.__session_id,query_paths,function_name
+            fetch_args.
+        )
+        response = self.__client.fetch_window_batch(request)
+        return
\ No newline at end of file