don't emit none from eval config (#9963)

pull/5737/head^2
William FH 1 year ago committed by GitHub
parent 8fb0a9594c
commit cedfad541d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,6 +48,8 @@ class EvalConfig(BaseModel):
for field, val in self:
if field == "evaluator_type":
continue
elif val is None:
continue
kwargs[field] = val
return kwargs

Loading…
Cancel
Save