import taos conn = taos.connect() dbname = "pytest_line" conn.execute("drop database if exists %s" % dbname) conn.execute("create database if not exists %s precision 'us'" % dbname) conn.select_db(dbname) lines = [ 'st,t1=3i64,t2=4f64,t3="t3" c1=3i64,c3=L"pass",c2=false,c4=4f64 1626006833639000000ns', ] conn.schemaless_insert(lines, 0) print("inserted") conn.schemaless_insert(lines, 0) result = conn.query("show tables") for row in result: print(row) conn.execute("drop database if exists %s" % dbname)