in sapp/ui/issues.py [0:0]
def __eq__(self, other: object) -> bool:
if not isinstance(other, type(self)):
return NotImplemented
return (
self.issue_id.resolved() == other.issue_id.resolved()
and self.issue_instance_id.resolved() == other.issue_instance_id.resolved()
and self.run_id.resolved() == other.run_id.resolved()
and self.code == other.code
and self.status == other.status
and self.message == other.message
and self.callable == other.callable
and self.source_names == other.source_names
and self.source_kinds == other.source_kinds
and self.sink_names == other.sink_names
and self.sink_kinds == other.sink_kinds
and self.filename == other.filename
and self.location == other.location
and self.is_new_issue == other.is_new_issue
and self.first_seen == other.first_seen
and self.min_trace_length_to_sinks == other.min_trace_length_to_sinks
and self.min_trace_length_to_sources == other.min_trace_length_to_sources
and self.features == other.features
and self.similar_issues == other.similar_issues
)