Skip to content

Commit fdc06bb

Browse files
committed
fix(core): remove useless code
1 parent 9852c46 commit fdc06bb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

volcenginesdkcore/rest.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,12 +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-
for i in range(len(query_params)):
236-
if isinstance(query_params[i], tuple) and len(query_params[i]) == 2 and isinstance(query_params[i][1],
237-
bool):
238-
l = list(query_params[i])
239-
l[1] = l[1].__str__().lower()
240-
query_params[i] = tuple(l)
241235
return self.request("GET", url,
242236
headers=headers,
243237
_preload_content=_preload_content,

0 commit comments

Comments
 (0)