This commit is contained in:
Kien Dang 2023-08-06 01:41:46 +08:00
parent 1bdc524029
commit c4d9bd374e

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.
if filter_type == "isnull":
graphene.Boolean(required=required)
field_type = graphene.Boolean(required=required)
else:
model_field = get_model_field(model, filter_field.field_name)