Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small error in instructions for writing to InfluxDB via Python #6836

Closed
MarkhamLee opened this issue Nov 2, 2023 · 1 comment
Closed

Small error in instructions for writing to InfluxDB via Python #6836

MarkhamLee opened this issue Nov 2, 2023 · 1 comment

Comments

@MarkhamLee
Copy link

I noticed a small error in the "setting up python" instructions in the web UI, namely the sequence where you create the write_api object. The provided instructions read as follows:

write_client = influxdb_client.InfluxDBClient(url=url, token=token, org=org)
write_api = client.write_api(write_options=SYNCHRONOUS)

the second line should actually read:
write_api = write_client.write_api(write_options=SYNCHRONOUS)

I.e. 'write_client' instead of 'client'. A small issue, but I could see it throwing someone off for a bit

@MarkhamLee
Copy link
Author

Just realized this is a duplicate/already covered by #6754

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant