def __eq__()

in pyrit/models/prompt_request_piece.py [0:0]


    def __eq__(self, other) -> bool:
        return (
            self.id == other.id
            and self.role == other.role
            and self.original_value == other.original_value
            and self.original_value_data_type == other.original_value_data_type
            and self.original_value_sha256 == other.original_value_sha256
            and self.converted_value == other.converted_value
            and self.converted_value_data_type == other.converted_value_data_type
            and self.converted_value_sha256 == other.converted_value_sha256
            and self.conversation_id == other.conversation_id
            and self.sequence == other.sequence
        )