From ad28d9130a3cc19921cbd06020b3b732ebe55f83 Mon Sep 17 00:00:00 2001 From: Christopher Li Date: Thu, 31 Aug 2023 12:29:21 -0400 Subject: [PATCH] nits --- v4-client-py/dydx4/clients/helpers/request_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v4-client-py/dydx4/clients/helpers/request_helpers.py b/v4-client-py/dydx4/clients/helpers/request_helpers.py index 38d1c7be..46ff922a 100644 --- a/v4-client-py/dydx4/clients/helpers/request_helpers.py +++ b/v4-client-py/dydx4/clients/helpers/request_helpers.py @@ -12,7 +12,7 @@ def generate_query_path(url, params): if not entries: return url - paramsString = '&'.join('{key}={value.lower() if isinstance(value, bool) else value}'.format( + paramsString = '&'.join('{key}={str(value).lower() if isinstance(value, bool) else value}'.format( key=x[0], value=x[1]) for x in entries if x[1] is not None) if paramsString: return url + '?' + paramsString