Allow 'none' for progress_status
Well this fixes tests but also, I dont think you necessarily have this right off the bat if you havent done anything in a study, which i handle on the frontend. so null is fine
This commit is contained in:
parent
8b27423172
commit
cdaad5dcc0
|
@ -266,7 +266,7 @@ class StudySchema(ma.Schema):
|
|||
warnings = fields.List(fields.Nested(ApiErrorSchema), dump_only=True)
|
||||
protocol_builder_status = EnumField(StudyStatus, by_value=True)
|
||||
status = EnumField(StudyStatus, by_value=True)
|
||||
progress_status = EnumField(ProgressStatus, by_value=True)
|
||||
progress_status = EnumField(ProgressStatus, by_value=True, allow_none=True)
|
||||
short_title = fields.String(allow_none=True)
|
||||
sponsor = fields.String(allow_none=True)
|
||||
ind_number = fields.String(allow_none=True)
|
||||
|
|
Loading…
Reference in New Issue