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: Create a new collection from a specified index.
  
  :param collection_name: The name of the collection to create.
  :param index_name: The name of the source index.
docstr_tok: ["Create","a","new","collection","from","a","specified","index",".",":","param","collection_name",":","The","name","of","the","collection","to","create",".",":","param","index_name",":","The","name","of","the","source","index","."]
code: def create_collection(collection_name: str, index_name: str) -> None:
      """
      Create a new collection from a specified index.
  
      :param collection_name: The name of the collection to create.
      :param index_name: The name of the source index.
      """
      pinecone.create_collection(
          name=collection_name, source=index_name
      )
  
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 12 for calling the PineconeHook obj's underlying member method code with example usage: obj.create_collection(collection_name, index_name) without return types