harborapi
harborapi copied to clipboard
ArtifactReport.has_* should not rely on the implementation of `with_*`
Why create a whole new report and check its artifacts, when we should just be able to do
return any(artifact.has_foo("...") for artifact in self.artifacts)
We already do this with all has_* methods except has_repository and has_severity.