Skip to content

Commit 4293abc

Browse files
author
Keryc Diaz
authored
Change import dataclass and use pydantic.dataclass (#82)
* change import dateclass * fix end * update version.py
1 parent 3eed2c6 commit 4293abc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cuenca/resources/bill_payments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from dataclasses import dataclass
21
from typing import ClassVar, cast
32

43
from cuenca_validations.types import BillPaymentQuery
4+
from pydantic.dataclasses import dataclass
55

66
from .base import Transaction
77
from .resources import retrieve_uri

cuenca/resources/deposits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from dataclasses import dataclass
21
from typing import ClassVar, Optional, cast
32

43
from cuenca_validations.types import DepositNetwork, DepositQuery
4+
from pydantic.dataclasses import dataclass
55

66
from .accounts import Account
77
from .base import Transaction

cuenca/resources/service_providers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from dataclasses import dataclass
21
from typing import ClassVar, List
32

43
from cuenca_validations.types import ServiceProviderCategory
4+
from pydantic.dataclasses import dataclass
55

66
from .base import Queryable, Retrievable
77

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.7'
1+
__version__ = '0.3.8'
22
CLIENT_VERSION = __version__
33
API_VERSION = '2020-03-19'

0 commit comments

Comments
 (0)