|
|
@ -116,7 +116,9 @@ class perform_site_check(difference_detection_processor):
|
|
|
|
# and then use getattr https://docs.python.org/3/reference/datamodel.html#object.__getitem__
|
|
|
|
# and then use getattr https://docs.python.org/3/reference/datamodel.html#object.__getitem__
|
|
|
|
# https://realpython.com/inherit-python-dict/ instead of doing it procedurely
|
|
|
|
# https://realpython.com/inherit-python-dict/ instead of doing it procedurely
|
|
|
|
include_filters_from_tags = self.datastore.get_tag_overrides_for_watch(uuid=uuid, attr='include_filters')
|
|
|
|
include_filters_from_tags = self.datastore.get_tag_overrides_for_watch(uuid=uuid, attr='include_filters')
|
|
|
|
include_filters_rule = [*watch.get('include_filters', []), *include_filters_from_tags]
|
|
|
|
|
|
|
|
|
|
|
|
# 1845 - remove duplicated filters in both group and watch include filter
|
|
|
|
|
|
|
|
include_filters_rule = list({*watch.get('include_filters', []), *include_filters_from_tags})
|
|
|
|
|
|
|
|
|
|
|
|
subtractive_selectors = [*self.datastore.get_tag_overrides_for_watch(uuid=uuid, attr='subtractive_selectors'),
|
|
|
|
subtractive_selectors = [*self.datastore.get_tag_overrides_for_watch(uuid=uuid, attr='subtractive_selectors'),
|
|
|
|
*watch.get("subtractive_selectors", []),
|
|
|
|
*watch.get("subtractive_selectors", []),
|
|
|
|