fix comment
Showing
1 changed file
with
5 additions
and
1 deletions
| ... | @@ -58,6 +58,10 @@ individual_args = { | ... | @@ -58,6 +58,10 @@ individual_args = { | 
| 58 | 'selfEmployedSubType': fields.Str(required=False, validate=validate.OneOf(consts.SUB_TYPE)), | 58 | 'selfEmployedSubType': fields.Str(required=False, validate=validate.OneOf(consts.SUB_TYPE)), | 
| 59 | } | 59 | } | 
| 60 | 60 | ||
| 61 | comment_args = { | ||
| 62 | 'comment': fields.Str(required=True, validate=validate.Length(max=1024)), | ||
| 63 | } | ||
| 64 | |||
| 61 | compare_content = { | 65 | compare_content = { | 
| 62 | 'uniqSeq': fields.Str(required=True, validate=validate.Length(max=128)), | 66 | 'uniqSeq': fields.Str(required=True, validate=validate.Length(max=128)), | 
| 63 | 'applicationId': fields.Str(required=True, validate=validate.Length(max=64)), | 67 | 'applicationId': fields.Str(required=True, validate=validate.Length(max=64)), | 
| ... | @@ -66,7 +70,7 @@ compare_content = { | ... | @@ -66,7 +70,7 @@ compare_content = { | 
| 66 | "applicationVersion": fields.Int(required=True), | 70 | "applicationVersion": fields.Int(required=True), | 
| 67 | 'vehicleStatus': fields.Str(required=True, validate=validate.OneOf(consts.VEHICLE_STATUS)), | 71 | 'vehicleStatus': fields.Str(required=True, validate=validate.OneOf(consts.VEHICLE_STATUS)), | 
| 68 | 72 | ||
| 69 | 'comments': fields.List(fields.Str(required=False), required=True), | 73 | 'comments': fields.List(comment_args, required=True), | 
| 70 | 74 | ||
| 71 | 'individualCusInfo': fields.List(fields.Nested(individual_args), | 75 | 'individualCusInfo': fields.List(fields.Nested(individual_args), | 
| 72 | required=True, validate=validate.Length(min=1, max=4)), | 76 | required=True, validate=validate.Length(min=1, max=4)), | ... | ... | 
- 
Please register or sign in to post a comment