You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/11/03 19:34:06 UTC
[iotdb] branch master updated: Python session time zone example
(#1938)
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new e0bd43c Python session time zone example (#1938)
e0bd43c is described below
commit e0bd43c9bd4f4e3055e177024bf0bbf1e2a68c54
Author: SilverNarcissus <15...@smail.nju.edu.cn>
AuthorDate: Wed Nov 4 03:32:19 2020 +0800
Python session time zone example (#1938)
---
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