You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/01/10 06:28:07 UTC
[iotdb] branch IOTDB-1801 updated: Fix format
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch IOTDB-1801
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/IOTDB-1801 by this push:
new 3be8946 Fix format
3be8946 is described below
commit 3be8946450329ab5123224dcc3c46437930541b5
Author: HTHou <hh...@outlook.com>
AuthorDate: Mon Jan 10 14:27:11 2022 +0800
Fix format
---
client-py/iotdb/Session.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/client-py/iotdb/Session.py b/client-py/iotdb/Session.py
index 4a825a3..e348739 100644
--- a/client-py/iotdb/Session.py
+++ b/client-py/iotdb/Session.py
@@ -27,6 +27,7 @@ from thrift.transport import TSocket, TTransport
from .thrift.rpc.TSIService import (
Client,
TSCreateTimeseriesReq,
+ TSCreateAlignedTimeseriesReq,
TSInsertRecordReq,
TSInsertStringRecordReq,
TSInsertTabletReq,
@@ -38,7 +39,7 @@ from .thrift.rpc.TSIService import (
TSInsertRecordsReq,
TSInsertRecordsOfOneDeviceReq,
)
-from .thrift.rpc.ttypes import TSDeleteDataReq, TSProtocolVersion, TSSetTimeZoneReq, TSCreateAlignedTimeseriesReq
+from .thrift.rpc.ttypes import TSDeleteDataReq, TSProtocolVersion, TSSetTimeZoneReq
# for debug
# from IoTDBConstants import *
@@ -394,6 +395,7 @@ class Session(object):
)
return Session.verify_success(status)
+
def insert_aligned_record(self, device_id, timestamp, measurements, data_types, values):
"""
insert one row of aligned record into database, if you want improve your performance, please use insertTablet method