We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab16384 commit 170e6ffCopy full SHA for 170e6ff
examples/example.py
@@ -14,7 +14,9 @@
14
# write using point structure
15
write_api.write(bucket="my-bucket", record=p)
16
17
- line_protocol = p.to_line_protocol()
+ plp = Point("my_measurement").tag("location", "Athens").field("temperature", 35.3) \
18
+ .time(datetime.now(tz=timezone.utc))
19
+ line_protocol = plp.to_line_protocol()
20
print(line_protocol)
21
22
# write using line protocol string
0 commit comments