cuenca-mx / cuenca-mx/cuenca-validations
KeyError: 'country_of_birth'
Open
@felipao-mx is already working on this.
Since Feb 9, 2022.
- Dominant language
- Python
- Stars
- 3
- Forks
- 0
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 6
Description
Sentry Issue: IDENTIFY-DEV-5
KeyError: 'country_of_birth'
(19 additional frame(s) were not displayed)
...
File "pydantic/class_validators.py", line 310, in pydantic.class_validators._generic_validator_basic.lambda12
return lambda cls, v, values, field, config: validator(v)
File "pydantic/main.py", line 735, in pydantic.main.BaseModel.validate
return cls(**value)
File "pydantic/main.py", line 404, in pydantic.main.BaseModel.__init__
values, fields_set, validation_error = validate_model(__pydantic_self__.__class__, data)
File "pydantic/main.py", line 1014, in pydantic.main.validate_model
input_data = validator(cls_, input_data)
File "cuenca_validations/types/requests.py", line 304, in validate_state_of_birth
values['country_of_birth'] == 'MX'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.