class_docstr: Interact with Pinecone. This hook uses the Pinecone conn_id.
  
  :param conn_id: Optional, default connection id is `pinecone_default`. The connection id to use when
      connecting to Pinecone.
class_docstr_tok: ["Interact","with","Pinecone",".","This","hook","uses","the","Pinecone","conn_id",".",":","param","conn_id",":","Optional",",","default","connection","id","is","`","pinecone_default","`",".","The","connection","id","to","use","when","connecting","to","Pinecone","."]
docstr: Describes the index statistics.
  
  Returns statistics about the index's contents. For example: The vector count per
  namespace and the number of dimensions.
  API reference: https://docs.pinecone.io/reference/describe_index_stats_post
  
  :param index_name: Name of the index.
  :param stats_filter: If this parameter is present, the operation only returns statistics for vectors that
   satisfy the filter. See https://www.pinecone.io/docs/metadata-filtering/
docstr_tok: ["Describes","the","index","statistics",".","Returns","statistics","about","the","index","'s","contents",".","For","example",":","The","vector","count","per","namespace","and","the","number","of","dimensions",".","API","reference",":","https",":","\/\/docs.pinecone.io\/reference\/describe_index_stats_post",":","param","index_name",":","Name","of","the","index",".",":","param","stats_filter",":","If","this","parameter","is","present",",","the","operation","only","returns","statistics","for","vectors","that","satisfy","the","filter",".","See","https",":","\/\/www.pinecone.io\/docs\/metadata-filtering\/"]
code: def describe_index_stats(
      index_name: str,
      stats_filter: dict[
          str, str | float | int | bool | list[Any] | dict[Any, Any]
      ]
      | None = None,
      **kwargs: Any,
  ) -> DescribeIndexStatsResponse:
      """
      Describes the index statistics.
  
      Returns statistics about the index's contents. For example: The vector count per
      namespace and the number of dimensions.
      API reference: https://docs.pinecone.io/reference/describe_index_stats_post
  
      :param index_name: Name of the index.
      :param stats_filter: If this parameter is present, the operation only returns statistics for vectors that
       satisfy the filter. See https://www.pinecone.io/docs/metadata-filtering/
      """
      index = pinecone.Index(index_name)
      return index.describe_index_stats(filter=stats_filter, **kwargs)
  
imports: from __future__ import annotations
  import itertools
  from typing import TYPE_CHECKING, Any
  import pinecone
  from airflow.hooks.base import BaseHook
label_desc: Use image node_id 19 for calling the PineconeHook obj's underlying member method code with example usage: obj.describe_index_stats(index_name, stats_filter) and returns: index