From c369dc10b78f0c44bb5ebe814d68ba95b62d0895 Mon Sep 17 00:00:00 2001 From: dingbo Date: Wed, 31 Aug 2022 13:08:26 +0800 Subject: [PATCH] test: update python example --- docs/examples/python/develop_tutorial.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs/examples/python/develop_tutorial.py b/docs/examples/python/develop_tutorial.py index c2446550c8..917e91a312 100644 --- a/docs/examples/python/develop_tutorial.py +++ b/docs/examples/python/develop_tutorial.py @@ -15,14 +15,6 @@ conn = taosrest.connect(url=url, token=token) print("server version:", conn.server_info) # ANCHOR_END: connect # ANCHOR: insert -# drop database -affected_row = conn.execute("DROP DATABASE IF EXISTS power") -print("affected_row", affected_row) # 0 - -# create database -affected_row = conn.execute("CREATE DATABASE power") -print("affected_row", affected_row) # 0 - # create super table conn.execute("CREATE STABLE power.meters (ts TIMESTAMP, current FLOAT, voltage INT, phase FLOAT) TAGS (location BINARY(64), groupId INT)") print("affected_row", affected_row) # 0 -- GitLab