mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-10 01:28:16 -06:00
Omit redundant assignment
This commit is contained in:
parent
e1911a534b
commit
36b1854e6c
@ -23,7 +23,6 @@ def map_strawberry_type(field):
|
|||||||
elif isinstance(field, MultiValueArrayFilter):
|
elif isinstance(field, MultiValueArrayFilter):
|
||||||
pass
|
pass
|
||||||
elif isinstance(field, MultiValueCharFilter):
|
elif isinstance(field, MultiValueCharFilter):
|
||||||
should_create_function = False
|
|
||||||
# Note: Need to use the legacy FilterLookup from filters, not from
|
# Note: Need to use the legacy FilterLookup from filters, not from
|
||||||
# strawberry_django.FilterLookup as we currently have USE_DEPRECATED_FILTERS
|
# strawberry_django.FilterLookup as we currently have USE_DEPRECATED_FILTERS
|
||||||
attr_type = strawberry_django.filters.FilterLookup[str] | None
|
attr_type = strawberry_django.filters.FilterLookup[str] | None
|
||||||
|
Loading…
Reference in New Issue
Block a user