You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Python code listing is using "write_apt = client.[...]", which should work (the correct code should be "write_client", not "client")
Actual behavior:
Error messsage saying that "client" does not exist.
Visual Proof:
Traceback (most recent call last):
File "/home/daniel/Lokalt/dbtest/skript.py", line 12, in <module>
write_api = client.write_api(write_options=SYNCHRONOUS)
NameError: name 'client' is not defined
About your environment
Environment info:
Linux 5.19.0-46-generic x86_64
Influxdb 2.7.1
Config:
The text was updated successfully, but these errors were encountered:
It seems to be depended with Issue #24338 and pullrequest #6834. The solution there is to change in the step before the creation to client instead of write_client. So I suggest to close this issue.
About the bug
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
$ docker run -p 8086:8086 -v myInfluxVolume: influxdb:latest
Expected behavior:
The Python code listing is using "write_apt = client.[...]", which should work (the correct code should be "write_client", not "client")
Actual behavior:
Error messsage saying that "client" does not exist.
Visual Proof:
About your environment
Environment info:
Linux 5.19.0-46-generic x86_64
Influxdb 2.7.1
Config:
The text was updated successfully, but these errors were encountered: