Skip to content

Commit

Permalink
Adding timeout for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Schnaufer committed Sep 21, 2022
1 parent 7c69a7c commit ae96b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion betydb2geojson.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def query_betydb_experiments(betydb_url: str = None) -> dict:
url = betydb_url.rstrip('/') + '/api/v1/experiments'
params = {'associations_mode': 'full_info', 'limit': 'none'}

req = requests.get(url, params=params)
req = requests.get(url, params=params, timeout=300)
req.raise_for_status()
return req.json()

Expand Down

0 comments on commit ae96b54

Please sign in to comment.