From 2a202d2f0256e40543340c1e20bf140b596ccdfa Mon Sep 17 00:00:00 2001 From: Nicolas Thumann Date: Mon, 16 Dec 2024 12:27:14 +0100 Subject: [PATCH] Change: Make unit tests happy --- pontos/github/api/client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pontos/github/api/client.py b/pontos/github/api/client.py index c9733f226..934cd89b4 100644 --- a/pontos/github/api/client.py +++ b/pontos/github/api/client.py @@ -155,7 +155,9 @@ async def get_all( while next_url: # Workaround for https://github.com/encode/httpx/issues/3433 - new_params = httpx.URL(next_url).params.merge(params) + new_params = ( + httpx.URL(next_url).params.merge(params) if params else None + ) response = await self.get(next_url, params=new_params) yield response