File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 11VWS-Auth-Tools == 2019.12.28.3
22requests == 2.23.0
3- timeout-decorator == 0.4 .1
3+ wrapt- timeout-decorator== 1.3 .1
44urllib3 == 1.25.8
Original file line number Diff line number Diff line change 1212
1313import requests
1414from requests import Response
15- from timeout_decorator import timeout
15+ from wrapt_timeout_decorator import timeout
1616from vws_auth_tools import authorization_header , rfc_1123_date
1717
1818from vws ._result_codes import raise_for_result_code
@@ -322,11 +322,8 @@ def wait_for_target_processed(
322322 """
323323
324324 @timeout (
325- seconds = timeout_seconds ,
325+ dec_timeout = timeout_seconds ,
326326 timeout_exception = TargetProcessingTimeout ,
327- # Without this, signals are used which Windows does not support.
328- # See https://github.com/pnpnpn/timeout-decorator/issues/45
329- use_signals = False ,
330327 )
331328 def decorated () -> None :
332329 self ._wait_for_target_processed (
You can’t perform that action at this time.
0 commit comments