There might be cases where you might want to remove duplicate items
from a list, running 2 different searches concurrently, but the combined
search results have duplicate IDs of records. Normally, in Python, you
would cast this list to a set to get rid of the duplicates but Jinja
does not have a "set" function.
However, you can easily get rid of duplicate items in a list by using the "unique" filter.
{{my_list|unique}}
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.