Open josh-chamberlain opened 1 month ago
Rather than creating a custom function for this, we could probably use the httpx library, which includes timeouts by default. Here's an overview of how it compares to requests
, and here is a piece of httpx documentation discussing how its functionality compares to requests.
Then again, it may be overkill to add an entirely new module just because of one default functionality.
https://github.com/Police-Data-Accessibility-Project/data-sources-app/pull/260