Skip to content

Commit

Permalink
- Adding missing postparsing validator
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Nov 20, 2023
1 parent fd550a5 commit 9154b30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tdrs-backend/tdpservice/parsers/schema_defs/ssp/m7.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
model=SSP_M7,
quiet_preparser_errors=i > 1,
preparsing_validators=[
validators.hasLength(247),
validators.notEmpty(0, 7),
validators.notEmpty(validator_index, validator_index + 24),
],
Expand Down
1 change: 1 addition & 0 deletions tdrs-backend/tdpservice/parsers/schema_defs/tanf/t7.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
model=TANF_T7,
quiet_preparser_errors=i > 1,
preparsing_validators=[
validators.hasLength(247),
validators.notEmpty(0, 7),
validators.notEmpty(validator_index, validator_index + 24),
],
Expand Down

0 comments on commit 9154b30

Please sign in to comment.