Skip to content

Commit b94e73a

Browse files
committed
Fix CI
1 parent 5a21e9e commit b94e73a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

iotdb-client/client-py/iotdb/Session.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class Session(object):
6969
SUCCESS_STATUS = 200
7070
MULTIPLE_ERROR = 302
7171
REDIRECTION_RECOMMEND = 400
72-
DEFAULT_FETCH_SIZE = 10000
72+
DEFAULT_FETCH_SIZE = 5000
7373
DEFAULT_USER = "root"
7474
DEFAULT_PASSWORD = "root"
7575
DEFAULT_ZONE_ID = time.strftime("%z")
@@ -1609,7 +1609,8 @@ def verify_success_by_list(status_list: list):
16091609
error_messages = [
16101610
status.message
16111611
for status in status_list
1612-
if status.code not in {Session.SUCCESS_STATUS, Session.REDIRECTION_RECOMMEND}
1612+
if status.code
1613+
not in {Session.SUCCESS_STATUS, Session.REDIRECTION_RECOMMEND}
16131614
]
16141615
if error_messages:
16151616
message = f"{Session.MULTIPLE_ERROR}: {'; '.join(error_messages)}"

0 commit comments

Comments
 (0)