Skip to content

Commit

Permalink
Fixed linting issue: timeout for requests.get added, #45
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoHuebner committed Sep 4, 2022
1 parent 7e93ecf commit 47af7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pygenesis/http_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_response_from_endpoint(
}
)

response = requests.get(url, params=params)
response = requests.get(url, params=params, timeout=30)

response.encoding = "UTF-8"

Expand Down

0 comments on commit 47af7b8

Please sign in to comment.