From 36b1854e6c97e2ef8ec04c4cc0413aad28aaca75 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 3 Jun 2024 10:00:31 -0400 Subject: [PATCH] Omit redundant assignment --- netbox/netbox/graphql/filter_mixins.py | 1 - 1 file changed, 1 deletion(-) diff --git a/netbox/netbox/graphql/filter_mixins.py b/netbox/netbox/graphql/filter_mixins.py index e77acdfae..5075e9aa2 100644 --- a/netbox/netbox/graphql/filter_mixins.py +++ b/netbox/netbox/graphql/filter_mixins.py @@ -23,7 +23,6 @@ def map_strawberry_type(field): elif isinstance(field, MultiValueArrayFilter): pass elif isinstance(field, MultiValueCharFilter): - should_create_function = False # Note: Need to use the legacy FilterLookup from filters, not from # strawberry_django.FilterLookup as we currently have USE_DEPRECATED_FILTERS attr_type = strawberry_django.filters.FilterLookup[str] | None