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: Create a bucket for an organization.
docstr_tok: ["Create","a","bucket","for","an","organization","."]
code: def create_bucket(
      self, bucket_name, description, org_id, retention_rules=None
  ):
      """Create a bucket for an organization."""
      return self.client.buckets_api().create_bucket(
          bucket_name=bucket_name,
          description=description,
          org_id=org_id,
          retention_rules=None,
      )
  
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 10 for calling the InfluxDBHook obj's underlying member method code with example usage: obj.create_bucket(bucket_name, description, org_id, retention_rules) and returns: self