Remove duplicate client instance in Python

pull/944/head
Oren Shpigel 2020-04-13 12:11:08 +03:00 committed by GitHub
parent dbb7283695
commit 0157567d2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -97,7 +97,6 @@ client = influxdb_client.InfluxDBClient(
org=org
)
client = influxdb_client.InfluxDBClient(url=url, token=token, org=org)
write_api = client.write_api(write_options=SYNCHRONOUS)
p = influxdb_client.Point("my_measurement").tag("location", "Prague").field("temperature", 25.3)