-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Specifications
- Client Version: 0.17
- InfluxDB Version: 3.7.0
- Platform: Docker
When supplying data_frame_tag_columns or the new write_dataframe and batch writes are enabled, the write fails with the following log message:
ERROR - The batch item wasn't processed successfully because: Got an unexpected keyword argument 'data_frame_tag_columns' to method post_write
Code sample to reproduce problem
df = pd.DataFrame({'time': [datetime.now()], 'a': [5], 'b': [6]})
client = InfluxDBClient3(
"http://influx:8181"
token="tok",
database="db",
write_client_options=write_client_options(
write_options=WriteOptions(batch_size=100)
),
)
client.write_dataframe(
df,
"example",
"time",
tags=["b"],
)Expected behavior
Write succeeds as it did previously
Actual behavior
Write fails
Additional info
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working