From 08e072febe6de64313038a59619121ca9aaea74a Mon Sep 17 00:00:00 2001 From: Jonhnatha Trigueiro Date: Sat, 2 Nov 2024 22:06:16 -0300 Subject: [PATCH] fix: solve a bug when acessing schemas --- pyproject.toml | 2 +- src/asaaspy/client/resources/pix.py | 2 +- src/asaaspy/client/resources/subaccounts.py | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 src/asaaspy/client/resources/subaccounts.py diff --git a/pyproject.toml b/pyproject.toml index 1310c60..ee97f0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "asaaspy" -version = "0.25.0" +version = "0.25.1" description = "Unnoficial python client for Asaas" authors = [ {name = "Jonhnatha Trigueiro", email = "joepreludian@gmail.com"}, diff --git a/src/asaaspy/client/resources/pix.py b/src/asaaspy/client/resources/pix.py index ab4fb9e..bceb7a6 100644 --- a/src/asaaspy/client/resources/pix.py +++ b/src/asaaspy/client/resources/pix.py @@ -7,7 +7,7 @@ PixTransactionSchema, QRCodePayViewSchema, ) -from schemas.v3.pix import PixTransactionsFilterBySchema +from asaaspy.schemas.v3.pix import PixTransactionsFilterBySchema class PixResource(AsaasResource): diff --git a/src/asaaspy/client/resources/subaccounts.py b/src/asaaspy/client/resources/subaccounts.py new file mode 100644 index 0000000..2be620e --- /dev/null +++ b/src/asaaspy/client/resources/subaccounts.py @@ -0,0 +1,4 @@ +from asaaspy.client.base import AsaasResource + + +class SubAccounts(AsaasResource): ...