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 9ffe9bb commit a4342eaCopy full SHA for a4342ea
src/homepageExperience/components/steps/python/InitalizeClient.tsx
@@ -18,9 +18,9 @@ export const InitalizeClient = () => {
18
const url =
19
me.quartzMe?.clusterHost || 'https://us-west-2-1.aws.cloud2.influxdata.com/'
20
21
- const pythonCode = `import os
+ const pythonCode = `import influxdb_client, os, time
22
from influxdb_client import InfluxDBClient, Point, WritePrecision
23
-from influxdb_client.client import SYNCHRONOUS
+from influxdb_client.client.write_api import SYNCHRONOUS
24
25
token = os.environ.get("INFLUXDB_TOKEN")
26
org = "${org.name}"
0 commit comments