未验证 提交 f2791c36 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

[TD-2915]<fix>: python connector cursor iter next() function. (#5875)

Co-authored-by: NShuduo Sang <sdsang@taosdata.com>
上级 31529614
......@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="taos",
version="2.0.7",
version="2.0.8",
author="Taosdata Inc.",
author_email="support@taosdata.com",
description="TDengine python client package",
......
......@@ -42,7 +42,7 @@ class TDengineCursor(object):
def __iter__(self):
return self
def __next__(self):
def next(self):
if self._result is None or self._fields is None:
raise OperationalError("Invalid use of fetch iterator")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册