-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
Description
About the bug
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
- Use the latest docker image (2.7.1). This is the command i ran:
$ docker run -p 8086:8086 -v myInfluxVolume: influxdb:latest - At http://localhost:8086/, do the initial setup
- In the Get Started tab, click on Python
- Do the steps until "Write data"
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:
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: