Skip to content

Commit 77429a8

Browse files
authored
rename field (#437)
1 parent b9e5b16 commit 77429a8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

cuenca/resources/users.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class User(Creatable, Retrievable, Updateable, Queryable, Deactivable):
5353
profession: Optional[str] = None
5454
terms_of_service: Optional[TOSAgreement] = None
5555
status: Optional[UserStatus] = None
56-
is_inactive: bool = False
56+
is_dormant: bool = False
5757
is_fraud: bool = False
5858
is_pld_blocked: bool = False
5959
is_security_mode: bool = False
@@ -120,7 +120,7 @@ def full_name(self) -> str:
120120
'example'
121121
),
122122
'status': 'active',
123-
'is_inactive': False,
123+
'is_dormant': False,
124124
'is_fraud': False,
125125
'is_pld_blocked': False,
126126
'is_security_mode': False,
@@ -175,7 +175,7 @@ def update(
175175
proof_of_address: Optional[KYCFile] = None,
176176
proof_of_life: Optional[KYCFile] = None,
177177
status: Optional[UserStatus] = None,
178-
is_inactive: Optional[bool] = None,
178+
is_dormant: Optional[bool] = None,
179179
is_fraud: Optional[bool] = None,
180180
is_pld_blocked: Optional[bool] = None,
181181
is_security_mode: Optional[bool] = None,
@@ -202,7 +202,7 @@ def update(
202202
proof_of_address=proof_of_address,
203203
proof_of_life=proof_of_life,
204204
status=status,
205-
is_inactive=is_inactive,
205+
is_dormant=is_dormant,
206206
is_fraud=is_fraud,
207207
is_pld_blocked=is_pld_blocked,
208208
is_security_mode=is_security_mode,

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
requests==2.32.3
2-
cuenca-validations==2.1.26
2+
cuenca-validations==2.1.27
33
pydantic-extra-types==2.10.2

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
python_requires='>=3.9',
2525
install_requires=[
2626
'requests>=2.32.0',
27-
'cuenca-validations>=2.1.5',
27+
'cuenca-validations>=2.1.27',
2828
'pydantic-extra-types>=2.10.0',
2929
],
3030
classifiers=[

0 commit comments

Comments
 (0)