def __eq__()

in apisix/runner/server/response.py [0:0]


    def __eq__(self, response) -> bool:
        """
        compare response handler
        :param response:
            response handler
        :return:
        """
        return (
                self.code == response.code and self.message == response.message and self.data == response.data and
                self.type == response.type)