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:00 UTC

[iotdb] branch python_session_time_zone_fix created (now 5ab4bc8)

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

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


      at 5ab4bc8  add example

This branch includes the following new commits:

     new 5ab4bc8  add example

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: add example

Posted by xu...@apache.org.
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