fixing docs

This commit is contained in:
Mose Mueller 2024-11-05 11:48:15 +01:00
parent 80150ab50a
commit a561dc8888
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ with InfluxDBv1Session() as influx_client:
"time": "2023-06-05T00:00:00Z", # Replace with your timestamp
}
]
influx_client.write_points(data=[data, data], database="other_database")
influx_client.write_points(data=data, database="other_database")
# just write one point into the client's current database
influx_client.write(data=data[0])

View File

@ -49,7 +49,7 @@ class InfluxDBv1Session:
"time": "2023-06-05T00:00:00Z", # Replace with your timestamp
}
]
influx_client.write_points(data=[data, data], database="other_database")
influx_client.write_points(data=data, database="other_database")
# just write one point into the client's current database
influx_client.write(data=data[0])