From c665bb6c09d538796902c3738cbc42a2a912ce6e Mon Sep 17 00:00:00 2001 From: Jeff Sault Date: Wed, 6 Mar 2024 14:46:15 +0000 Subject: [PATCH] Correctly pass any args to functions --- status_cake_exporter/_status_cake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/status_cake_exporter/_status_cake.py b/status_cake_exporter/_status_cake.py index deea8b0..63a59cd 100644 --- a/status_cake_exporter/_status_cake.py +++ b/status_cake_exporter/_status_cake.py @@ -82,7 +82,7 @@ def __paginate_response( list[dict[str, Any]] """ params: DefaultPaginationParameters = {"page": 1, "limit": self.per_page} - args = args | params if args else params + params = args | params if args else params response = func(**params) metadata = response["metadata"]