Merge pull request #944 from oren-nonamesecurity/patch-1

Remove duplicate client instance in Python
pull/952/head
Scott Anderson 2020-04-13 11:44:36 -06:00 committed by GitHub
commit 4d10f27c3b
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)