From 8c92c7870cb2fc8f0481cb9849013d0d849493d1 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Mon, 9 May 2022 16:27:33 -0400 Subject: [PATCH] allow null values --- crc/models/study.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crc/models/study.py b/crc/models/study.py index e5a51a41..1a68ddb2 100644 --- a/crc/models/study.py +++ b/crc/models/study.py @@ -264,7 +264,7 @@ class Study(object): class StudyForUpdateSchema(ma.Schema): id = fields.Integer(required=False, allow_none=True) status = EnumField(StudyStatus, by_value=True) - progress_status = EnumField(ProgressStatus, by_value=True) + progress_status = EnumField(ProgressStatus, by_value=True, allow_none=True) sponsor = fields.String(allow_none=True) ind_number = fields.String(allow_none=True) enrollment_date = fields.DateTime(allow_none=True)