Closed reginafcompton closed 6 years ago
@evz - I added *kwargs
to _get_response
(à la the requests library).
I am closing this PR, since we do not want to wrap all GET requests in _get_response
, which throws a warning, rather than raising an error. It makes sense when retrieving the shape_url, since its fine to continue without that info. Otherwise, we want import_data
to raise an error.
@evz - can you take a look at this? I integrated
_get_response
throughout import_data: it should help minimize errors having to do with 504 timeouts in ocd.datamade.us.