Readablility.
This commit is contained in:
@@ -26,7 +26,7 @@ speed_data = [
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
client = InfluxDBClient("192.168.178.25", 8086, 'no', 'credentials', 'here')
|
client = InfluxDBClient(host='127.0.0.1', port=8086, username='root', password='root', database='dbname')
|
||||||
|
|
||||||
client.write_points(speed_data)
|
client.write_points(speed_data)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user