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: Initiate a new InfluxDB connection with token and organization name.
docstr_tok: ["Initiate","a","new","InfluxDB","connection","with","token","and","organization","name","."]
code: def get_conn(self) -> InfluxDBClient:
      """Initiate a new InfluxDB connection with token and organization name."""
      self.connection = self.get_connection(self.influxdb_conn_id)
      self.extras = self.connection.extra_dejson.copy()
  
      self.uri = self.get_uri(self.connection)
      self.log.info("URI: %s", self.uri)
  
      if self.client is not None:
          return self.client
  
      token = self.connection.extra_dejson.get("token")
      self.org_name = self.connection.extra_dejson.get("org_name")
  
      self.log.info("URI: %s", self.uri)
      self.log.info("Organization: %s", self.org_name)
  
      self.client = self.get_client(self.uri, token, self.org_name)
  
      return self.client
  
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 4 for calling the InfluxDBHook obj's underlying member method code with example usage: obj.get_conn() and returns: self, self