airflow/contrib/hooks/azure_cosmos_hook.py
def delete_collection(self, collection_name, database_name=None):
        """
        Deletes an existing collection in the CosmosDB database.
        """
        if collection_name is None:
            raise AirflowBadRequest("Collection name cannot be None.")

        self.get_conn().DeleteContainer(
            get_collection_link(self.__get_database_name(database_name), collection_name))
def delete_collection(self, collection_name, database_name=None):
        if collection_name is None:
            raise AirflowBadRequest("Collection name cannot be None.")

        self.get_conn().DeleteContainer(
            get_collection_link(self.__get_database_name(database_name), collection_name))
def delete_collection ( self , collection_name , database_name = None ) : if collection_name is None : raise AirflowBadRequest ( "Collection name cannot be None." ) self . get_conn ( ) . DeleteContainer ( get_collection_link ( self . __get_database_name ( database_name ) , collection_name ) )
Deletes an existing collection in the CosmosDB database.
Deletes an existing collection in the CosmosDB database .