Omit redundant assignment

This commit is contained in:
Jeremy Stretch 2024-06-03 10:00:31 -04:00
parent e1911a534b
commit 36b1854e6c

View File

@ -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