(self, comment_id)
return False
Remove a comment from an event.

        Args:
            comment_id: Id of the comment.
Remove a comment from an event.
Remove a comment from an event .
def remove_comment(self, comment_id):
        """Remove a comment from an event.

        Args:
            comment_id: Id of the comment.
        """
        for comment_obj in self.comments:
            if comment_obj.id == int(comment_id):
                self.comments.remove(comment_obj)
                db_session.commit()
                return True

        return False
def remove_comment ( self , comment_id ) : for comment_obj in self . comments : if comment_obj . id == int ( comment_id ) : self . comments . remove ( comment_obj ) db_session . commit ( ) return True return False