This commit is contained in:
lilac-supernova-2 2023-08-26 04:01:15 -04:00 committed by GitHub
parent 59c01172bb
commit e2638408b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,6 +121,7 @@ def validate_exclude_fields(exclude_fields, all_field_names, model, type_):
)
)
def validate_fields(type_, model, fields, only_fields, exclude_fields):
# Validate the given fields against the model's fields and custom fields
all_field_names = set(fields.keys())