Retry Decorators ================ .. automethod:: sp_api.util.retry .. automethod:: sp_api.util.sp_retry .. automethod:: sp_api.util.throttle_retry The example below will retry the call when a throttled exception was thrown: .. code-block:: python @throttle_retry(tries=10, delay=5, rate=1.3) def get_orders(**kwargs): return Orders().get_orders(**kwargs) The example below will return all pages, retrying each call up to times .. code-block:: python @sp_retry(tries=10, delay=10, rate=1.2) @load_all_pages() def get_orders(**kwargs): return Orders().get_orders(**kwargs)