Skip to content

Commit 36cc001

Browse files
authored
Fix timeout options for requests transport (#88)
1 parent a57f959 commit 36cc001

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ucloud/core/transport/_requests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def _send(self, req: Request, **options: typing.Any) -> requests.Response:
8080
data=req.data,
8181
params=req.params,
8282
headers=req.headers,
83+
timeout=options.get('timeout'),
8384
**kwargs
8485
)
8586
resp = self.convert_response(session_resp)

0 commit comments

Comments
 (0)