The summary is supposed to be a short, one-line summary of the overall answer. The response still includes the structured "unsatisfied_requirements" key with full details, including policy ids and items.
I think this should be: answers.append(policy.check(item, results, waivers))
Policy.check() returns a list, so it should indeed be .extend().
Policy.check()
.extend()
oh, right. I was looking at the wrong class, :-)
:thumbsup:
I guess we should rename one of those .check() methods to something different to avoid that confusion, since their return types are actually different.
.check()
rebased
Rebased to fix conflicts (I didn't change the .check() methods, we can do that in a separate PR).
Pull-Request has been merged by dcallagh
The summary is supposed to be a short, one-line summary of the overall
answer. The response still includes the structured
"unsatisfied_requirements" key with full details, including policy ids
and items.