class_docstr: Interact with InfluxDB.
  
  Performs a connection to InfluxDB and retrieves client.
  
  :param influxdb_conn_id: Reference to :ref:`Influxdb connection id <howto/connection:influxdb>`.
class_docstr_tok: ["Interact","with","InfluxDB",".","Performs","a","connection","to","InfluxDB","and","retrieves","client",".",":","param","influxdb_conn_id",":","Reference","to",":","ref",":","`","Influxdb","connection","id","<","howto\/connection",":","influxdb",">","`","."]
docstr: Write a Point to the bucket specified.
  
  Example: ``Point("my_measurement").tag("location", "Prague").field("temperature", 25.3)``
docstr_tok: ["Write","a","Point","to","the","bucket","specified",".","Example",":","``","Point","(","``","my_measurement","''",")",".tag","(","``","location","''",",","``","Prague","''",")",".field","(","``","temperature","''",",","25.3",")","``"]
code: def write(
      self,
      bucket_name,
      point_name,
      tag_name,
      tag_value,
      field_name,
      field_value,
      synchronous=False,
  ):
      """Write a Point to the bucket specified.
  
      Example: ``Point("my_measurement").tag("location", "Prague").field("temperature", 25.3)``
      """
      # By defaults its Batching
      if synchronous:
          write_api = self.client.write_api(write_options=SYNCHRONOUS)
      else:
          write_api = self.client.write_api()
  
      p = (
          Point(point_name)
          .tag(tag_name, tag_value)
          .field(field_name, field_value)
      )
  
      write_api.write(bucket=bucket_name, record=p)
  
file_path: airflow/airflow/providers/influxdb/hooks/influxdb.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from influxdb_client import InfluxDBClient
  from influxdb_client.client.write.point import Point
  from influxdb_client.client.write_api import SYNCHRONOUS
  from airflow.hooks.base import BaseHook
label_desc: Use image node_id 7 for calling the InfluxDBHook obj's underlying member method code with example usage: obj.write(bucket_name, point_name, tag_name, tag_value, field_name, field_value, synchronous) without return types