Closed dachengx closed 7 months ago
Before this PR, when submitting any job, an error shows:
pydantic.error_wrappers.ValidationError: 1 validation error for JobSubmission bypass_validation none is not an allowed value (type=type_error.none.not_allowed)
because we assigned default bypass_validation as None: https://github.com/XENONnT/utilix/blob/6c39370a8f5c972571b0366bdee78abcec69da9e/utilix/batchq.py#L498
bypass_validation
None
Before this PR, when submitting any job, an error shows:
because we assigned default
bypass_validation
asNone
: https://github.com/XENONnT/utilix/blob/6c39370a8f5c972571b0366bdee78abcec69da9e/utilix/batchq.py#L498