Skip to content

Commit 893fa6d

Browse files
committed
fix(core): remove lower True for query
1 parent 9f351c8 commit 893fa6d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

volcenginesdkcore/rest.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,6 @@ def request(self, method, url, query_params=None, headers=None,
232232

233233
def GET(self, url, headers=None, query_params=None, _preload_content=True,
234234
_request_timeout=None):
235-
# fix boolean type param in query which has a capitalized first letter
236-
for i in range(len(query_params)):
237-
if isinstance(query_params[i], tuple) and len(query_params[i]) == 2 and isinstance(query_params[i][1],
238-
bool):
239-
l = list(query_params[i])
240-
l[1] = l[1].__str__().lower()
241-
query_params[i] = tuple(l)
242235
return self.request("GET", url,
243236
headers=headers,
244237
_preload_content=_preload_content,

0 commit comments

Comments
 (0)