You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xu...@apache.org on 2020/11/03 19:29:01 UTC

[iotdb] 01/01: add example

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

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

commit 5ab4bc83de829be798bc2f26b8ed9c5691998b55
Author: 151250176 <15...@smail.nju.edu.cn>
AuthorDate: Wed Nov 4 03:28:38 2020 +0800

    add example
---
 client-py/src/SessionExample.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client-py/src/SessionExample.py b/client-py/src/SessionExample.py
index 74f3258..5ad0882 100644
--- a/client-py/src/SessionExample.py
+++ b/client-py/src/SessionExample.py
@@ -29,7 +29,7 @@ ip = "127.0.0.1"
 port_ = "6667"
 username_ = 'root'
 password_ = 'root'
-session = Session(ip, port_, username_, password_)
+session = Session(ip, port_, username_, password_, fetch_size=1024, zone_id='UTC+8')
 session.open(False)
 
 # set and delete storage groups