From b79ca54a9e5ee564225a715b12c64fc75af82422 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 21 Dec 2022 15:23:06 +0000 Subject: [PATCH] Fix params on FlareRequest --- pynyaata/flarerequests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynyaata/flarerequests.py b/pynyaata/flarerequests.py index 0231086..cceea88 100644 --- a/pynyaata/flarerequests.py +++ b/pynyaata/flarerequests.py @@ -4,7 +4,7 @@ from .config import CLOUDPROXY_ENDPOINT, REQUESTS_TIMEOUT class FlareRequests(Session): - def request(self, method, url, params, timeout=REQUESTS_TIMEOUT, **kwargs): + def request(self, method, url, params=None, timeout=REQUESTS_TIMEOUT, **kwargs): if not CLOUDPROXY_ENDPOINT: return super().request(method, url, params, timeout=timeout, **kwargs)