We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 601dc5f commit fd5cd86Copy full SHA for fd5cd86
stubs/django-filter/django_filters/filters.pyi
@@ -131,7 +131,7 @@ class MultipleChoiceFilter(Filter):
131
) -> None: ...
132
def is_noop(self, qs: QuerySet[Any], value: Any) -> bool: ... # Value can be any filter input
133
def filter(self, qs: QuerySet[Any], value: Any) -> QuerySet[Any]: ...
134
- def get_filter_predicate(self, v: Any) -> Q: ... # Predicate value can be any filter input type
+ def get_filter_predicate(self, v: Any) -> dict[str, Any]: ... # Predicate value can be any filter input type
135
136
class TypedMultipleChoiceFilter(MultipleChoiceFilter):
137
field_class: type[forms.TypedMultipleChoiceField] # More specific than parent MultipleChoiceField
0 commit comments