Skip to content

Commit 8eff130

Browse files
author
Keryc Diaz
authored
Add query params DepositTransfer in resource deposits (#55)
* Add query params DepositTransfer in resource deposits * change version * update cuenca-validations
1 parent 56f2883 commit 8eff130

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

cuenca/resources/deposits.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from dataclasses import dataclass
22
from typing import ClassVar, Optional, cast
33

4-
from cuenca_validations.types import DepositNetwork
4+
from cuenca_validations.types import DepositNetwork, DepositQuery
55

66
from .accounts import Account
77
from .base import Transaction
@@ -11,6 +11,7 @@
1111
@dataclass
1212
class Deposit(Transaction):
1313
_resource: ClassVar = 'deposits'
14+
_query_params: ClassVar = DepositQuery
1415

1516
network: DepositNetwork
1617
source_uri: Optional[str]

cuenca/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = '0.3.1'
1+
__version__ = '0.3.2'
22
CLIENT_VERSION = __version__
33
API_VERSION = '2020-03-19'

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
requests==2.24.0
2-
cuenca-validations==0.5.2
2+
cuenca-validations==0.5.5
33
dataclasses>=0.7;python_version<"3.7"
44
aws-requests-auth==0.4.3

0 commit comments

Comments
 (0)