Skip to content

Commit

Permalink
Add force param in kyc_validation (#329)
Browse files Browse the repository at this point in the history
* add force param

* version

* Update version.py

* Update requirements.txt

* Update requirements.txt

* upgrade cv

* bump versions

Co-authored-by: AlexViquez <[email protected]>
  • Loading branch information
rogelioLpz and alexviquez authored Oct 28, 2022
1 parent eb98b67 commit 575515c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions cuenca/resources/kyc_validations.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ class Config:

@classmethod
def create(
cls, user_id: str, session: Session = global_session
cls,
user_id: str,
force: bool = False,
session: Session = global_session,
) -> 'KYCValidation':
req = KYCValidationRequest(user_id=user_id)
req = KYCValidationRequest(user_id=user_id, force=force)
return cast(
'KYCValidation', cls._create(**req.dict(), session=session)
)
2 changes: 1 addition & 1 deletion cuenca/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '0.15.2'
__version__ = '0.15.3'
CLIENT_VERSION = __version__
API_VERSION = '2020-03-19'
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
requests==2.27.1
cuenca-validations==0.11.7
cuenca-validations==0.11.10
dataclasses>=0.7;python_version<"3.7"

0 comments on commit 575515c

Please sign in to comment.