From 2497e1c05ac9e83dbb81b67bd1756777eaf4f524 Mon Sep 17 00:00:00 2001 From: Eric Lipe Date: Thu, 5 Oct 2023 15:23:45 -0600 Subject: [PATCH] - Quick correction to preparse validator --- tdrs-backend/tdpservice/parsers/schema_defs/ssp/m4.py | 2 +- tdrs-backend/tdpservice/parsers/schema_defs/ssp/m5.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tdrs-backend/tdpservice/parsers/schema_defs/ssp/m4.py b/tdrs-backend/tdpservice/parsers/schema_defs/ssp/m4.py index 7c65d08f0..ff696a9b7 100644 --- a/tdrs-backend/tdpservice/parsers/schema_defs/ssp/m4.py +++ b/tdrs-backend/tdpservice/parsers/schema_defs/ssp/m4.py @@ -7,7 +7,7 @@ from ... import validators from tdpservice.search_indexes.models.ssp import SSP_M4 -m1 = SchemaManager( +m4 = SchemaManager( schemas=[ RowSchema( model=SSP_M4, diff --git a/tdrs-backend/tdpservice/parsers/schema_defs/ssp/m5.py b/tdrs-backend/tdpservice/parsers/schema_defs/ssp/m5.py index d3dc1e79d..96ba54fb9 100644 --- a/tdrs-backend/tdpservice/parsers/schema_defs/ssp/m5.py +++ b/tdrs-backend/tdpservice/parsers/schema_defs/ssp/m5.py @@ -9,12 +9,12 @@ from tdpservice.search_indexes.models.ssp import SSP_M5 -m2 = SchemaManager( +m5 = SchemaManager( schemas=[ RowSchema( model=SSP_M5, preparsing_validators=[ - validators.hasLength(150), + validators.hasLength(66), ], postparsing_validators=[], fields=[