Mercurial > repos > bgruening > uniprot_rest_interface
comparison uniprot.py @ 8:d2ad6e2c55d1 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:05 +0000 |
| parents | b1cc2c5bde0e |
| children | f31d8d59ffb6 |
comparison
equal
deleted
inserted
replaced
| 7:b1cc2c5bde0e | 8:d2ad6e2c55d1 |
|---|---|
| 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], |
