All though api.record() accepts a max_attempts and timeout args, it was not actually being handled!
This moves the logic for request re-trying into the _request() function that handles all API calls. Added this support for the get_metadata() helper as well.
All though
api.record()
accepts amax_attempts
andtimeout
args, it was not actually being handled!This moves the logic for request re-trying into the
_request()
function that handles all API calls. Added this support for theget_metadata()
helper as well.