def METHOD_NAME(self) -> None:
    try:
        self.client.schema.delete_class(self.index_name)
        self._create_class()
    except UnexpectedStatusCodeException as error:
        logger.error(error)