cityofaustin / knackpy

A Python client for interacting with Knack applications
https://cityofaustin.github.io/knackpy/docs/user-guide/
Other
39 stars 17 forks source link

Actually implement request re-trying for api.record #83

Closed johnclary closed 3 years ago

johnclary commented 3 years ago

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.