Skip to content

Commit c0d5d98

Browse files
arthansonjeremystretch
authored andcommitted
17457 Make NumericArrayFilter optional
1 parent af5fb8f commit c0d5d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/netbox/graphql/filter_mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def map_strawberry_type(field):
4747
pass
4848
elif isinstance(field, NumericArrayFilter):
4949
should_create_function = True
50-
attr_type = int
50+
attr_type = int | None
5151
elif isinstance(field, TreeNodeMultipleChoiceFilter):
5252
should_create_function = True
5353
attr_type = List[str] | None

0 commit comments

Comments
 (0)