fiftyone icon indicating copy to clipboard operation
fiftyone copied to clipboard

[FR] Add retries for CVAT requests

Open ehofesmann opened this issue 2 years ago • 0 comments

When making calls to the CVAT REST API, some of the requests can raise errors due to server issues requiring methods like dataset.annotate() and dataset.load_annotations() to be run multiple times before succeeding. These calls should be retried on certain failures to avoid needing to manually rerun these methods.

This PR was a first attempt at introducing these retries, but has an issue in that it wraps request calls that are used in a lot of places and can raise a variety of different errors that may need to be handled differently.

ehofesmann avatar Aug 05 '22 21:08 ehofesmann