diff --git a/src/recordlinker/schemas/identifier.py b/src/recordlinker/schemas/identifier.py index 7fb6f362..7ebf576b 100644 --- a/src/recordlinker/schemas/identifier.py +++ b/src/recordlinker/schemas/identifier.py @@ -179,6 +179,7 @@ def parse_value(cls, value: str, info: ValidatorInfo): """ Parse the value string """ + # NOTE: Define "type" before "value" in the field definitions to guarentee that it will be available here. identifier_type = info.data["type"] if identifier_type == IdentifierType.SS: val = str(value).strip()