This commit is contained in:
Kien Dang 2023-08-06 02:09:49 +08:00
parent 91cd27781f
commit 17199fb470

View File

@ -51,7 +51,7 @@ def get_filtering_args_from_filterset(filterset_class, type):
): ):
# Get the filter field for filters that are no explicitly declared. # Get the filter field for filters that are no explicitly declared.
if filter_type == "isnull": if filter_type == "isnull":
field_type = graphene.Boolean(required=required) field_type = graphene.Boolean
else: else:
model_field = get_model_field(model, filter_field.field_name) model_field = get_model_field(model, filter_field.field_name)