def delete_collection(self, collection_name, database_name=None):
if collection_name is None:<EOL><INDENT>raise AirflowBadRequest("<STR_LIT>")<EOL><DEDENT>self.get_conn().DeleteContainer(<EOL>get_collection_link(self.__get_database_name(database_name), collection_name))<EOL>
Deletes an existing collection in the CosmosDB database.