Closed reginafcompton closed 6 years ago
This PR relates to the first bullet in this Chicago issue: https://github.com/datamade/chi-councilmatic/issues/231
It also makes better use of the _get_response function by adding an option to throw a warning or an error, if a response is NOT ok.
_get_response
This looks pretty great. I know replacing session.get with the _get_response was a bit of a hassle but it'll make it a little simpler to only have one thing that is calling out to the internet that way.
session.get
This PR relates to the first bullet in this Chicago issue: https://github.com/datamade/chi-councilmatic/issues/231
It also makes better use of the
_get_response
function by adding an option to throw a warning or an error, if a response is NOT ok.