Skip to content

Commit

Permalink
fix iam sign (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZingLix committed Jul 26, 2024
1 parent 8ff2759 commit 524fc6b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/qianfan/resources/requestor/openapi_requestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,6 @@ def _request_api(self, req: QfRequest, auth: Optional[Auth] = None) -> QfRespons

@self._retry_if_token_expired
def _helper() -> QfResponse:
self._add_access_token(req, auth)
return self._request(req)

return self._with_retry(req.retry_config, _helper)
Expand All @@ -577,7 +576,6 @@ def _async_request_api(

@self._async_retry_if_token_expired
async def _helper() -> QfResponse:
await self._async_add_access_token(req, auth)
return await self._async_request(req)

return self._async_with_retry(req.retry_config, _helper)
Expand Down

0 comments on commit 524fc6b

Please sign in to comment.