The Influx WebUI offers code snippets to connect the DB to a Python client (“Setting Up Python”)
The suggested code in step 5 “Write Data” in line 3 is
write_api = client.write_api(write_options=SYNCHRONOUS)
but should be
write_api = write_client.write_api(write_options=SYNCHRONOUS)