Skip to content

Commit ff1c9a1

Browse files
author
Andres Hernandez
committed
CurpValidation v2
1 parent 4c727dd commit ff1c9a1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

cuenca/resources/curp_validations.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ class CurpValidation(Creatable, Retrievable):
1919
_resource: ClassVar = 'curp_validations'
2020

2121
created_at: dt.datetime
22-
names: str
23-
first_surname: str
22+
names: Optional[str]
23+
first_surname: Optional[str]
2424
second_surname: Optional[str]
25-
date_of_birth: dt.date
26-
country_of_birth: Country
27-
state_of_birth: State
28-
gender: Gender
25+
date_of_birth: Optional[dt.date]
26+
country_of_birth: Optional[Country]
27+
state_of_birth: Optional[State]
28+
gender: Optional[Gender]
2929
nationality: Optional[Country]
3030
manual_curp: Optional[CurpField]
3131
calculated_curp: CurpField

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
requests==2.27.1
2-
cuenca-validations==0.10.2
2+
cuenca-validations==0.10.5.dev4
33
dataclasses>=0.7;python_version<"3.7"

0 commit comments

Comments
 (0)