From d25638ba5e699fc1a9bee056f54d88b09d19a3fe Mon Sep 17 00:00:00 2001 From: dingbo Date: Thu, 14 Jul 2022 16:19:52 +0800 Subject: [PATCH] docs: mockdatasoruce.py --- docs/examples/python/mockdatasoruce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/python/mockdatasoruce.py b/docs/examples/python/mockdatasoruce.py index 6172fda7b3..12c18e57f1 100644 --- a/docs/examples/python/mockdatasoruce.py +++ b/docs/examples/python/mockdatasoruce.py @@ -39,7 +39,7 @@ class MockDataSource: ts = [] for _ in range(1000): self.current_ts += 100 - ts.append(self.current_ts) + ts.append(str(self.current_ts)) # add timestamp to each row # [(tableId, ["tableName,ts,current,voltage,phase,location,groupId"])] result = [] -- GitLab