comparison uniprot.py @ 8:af5eccf83605 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/uniprot_rest_interface commit c7bbf2c24b4ec988b287a474ece740456f12d9bc
author bgruening
date Mon, 21 Nov 2022 22:02:41 +0000
parents bfdc6a7ffd3a
children 468c71dac78a
comparison
equal deleted inserted replaced
7:bfdc6a7ffd3a 8:af5eccf83605
17 from requests.adapters import HTTPAdapter 17 from requests.adapters import HTTPAdapter
18 from requests.packages.urllib3.util.retry import Retry 18 from requests.packages.urllib3.util.retry import Retry
19 19
20 20
21 DEFAULT_TIMEOUT = 5 # seconds 21 DEFAULT_TIMEOUT = 5 # seconds
22 URL = 'https://www.uniprot.org/' 22 URL = 'https://legacy.uniprot.org/'
23 23
24 retry_strategy = Retry( 24 retry_strategy = Retry(
25 total=5, 25 total=5,
26 backoff_factor=2, 26 backoff_factor=2,
27 status_forcelist=[429, 500, 502, 503, 504], 27 status_forcelist=[429, 500, 502, 503, 504],