From c9950506b8b4529da7c870beae84bf0f1e3d4001 Mon Sep 17 00:00:00 2001 From: Matthew Tran <0e4ef622@gmail.com> Date: Tue, 25 Feb 2025 11:30:00 -0600 Subject: [PATCH 1/3] Apply extra_kwargs in bank_statements wait_for_results --- ntropy_sdk/bank_statements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntropy_sdk/bank_statements.py b/ntropy_sdk/bank_statements.py index 8dcee47..cd14784 100644 --- a/ntropy_sdk/bank_statements.py +++ b/ntropy_sdk/bank_statements.py @@ -246,7 +246,7 @@ def wait_for_results( start_time = time.monotonic() stmt = None while time.monotonic() - start_time < timeout: - stmt = self._sdk.bank_statements.get(id=id) + stmt = self._sdk.bank_statements.get(id=id, **extra_kwargs) if stmt.status in finish_statuses: break time.sleep(poll_interval) From 62a0a2cbab37d336c825596fcfe1fe6780ba2af5 Mon Sep 17 00:00:00 2001 From: Matthew Tran <0e4ef622@gmail.com> Date: Tue, 25 Feb 2025 11:33:20 -0600 Subject: [PATCH 2/3] =?UTF-8?q?Bump=20version:=205.1.2=20=E2=86=92=205.1.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ntropy_sdk/__init__.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ntropy_sdk/__init__.py b/ntropy_sdk/__init__.py index acb6186..851e3f1 100644 --- a/ntropy_sdk/__init__.py +++ b/ntropy_sdk/__init__.py @@ -1,4 +1,4 @@ -__version__ = "5.1.2" +__version__ = "5.1.3" from typing import TYPE_CHECKING, Optional diff --git a/setup.cfg b/setup.cfg index c05cd1d..258e6f6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 5.1.2 +current_version = 5.1.3 commit = True tag = True parse = (?P\d+)\.(?P\d+)\.(?P\d+)(rc(?P
\d+))?
diff --git a/setup.py b/setup.py
index bc83dad..9a48a47 100644
--- a/setup.py
+++ b/setup.py
@@ -55,6 +55,6 @@
     test_suite="tests",
     tests_require=test_requirements,
     url="https://github.com/ntropy-network/ntropy-sdk",
-    version="5.1.2",
+    version="5.1.3",
     zip_safe=False,
 )

From 329ec190125f4bde3870eba717efbbbacb9b79d8 Mon Sep 17 00:00:00 2001
From: Matthew Tran <0e4ef622@gmail.com>
Date: Tue, 25 Feb 2025 11:38:10 -0600
Subject: [PATCH 3/3] Update changelog

---
 CHANGELOG.md | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 00db5ac..2fd2514 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,7 +2,16 @@
 # Changelog
 All notable changes to this project will be documented in this file.
 
-## [Unreleased]
+## [5.1.3] - 2025-02-25
+- Fix `extra_kwargs` handling for bank statements `wait_for_results`
+
+## [5.1.2] - 2025-01-28
+- Fix `extra_kwargs` handling for batches `wait_for_results`
+
+## [5.1.1] - 2024-12-03
+- Webhooks list no longer requires cursor/limit
+
+## [5.1.0] - 2024-12-02
 - Add `AsyncSDK` and corresponding async methods
 
 ## [5.0.2] - 2024-11-07