jinja2.sandbox.Set.difference

Set.difference(other)

Return the difference of two sets as a new Set.

(I.e. all elements that are in this set and not in the other.)